Looking at my configuration, I am using Spring Security this is the section
dealing with the proxy receptor:

<beans:property name="ticketValidator">
<beans:bean
class="org.jasig.cas.client.validation.Cas20ServiceTicketValidator">
<beans:constructor-arg index="0"
value="https://ourcasserver/cas"; />
<beans:property name="proxyCallbackUrl" value="/proxy/receptor" />
</beans:bean>
</beans:property>

This is the configuration that was giving me the:
java.net.MalformedURLException: no protocol: /proxy/receptor error

To my knowledge this is the correct configuration, am I wrong?

Thanks,

~Karl~


On Thu, Jun 20, 2013 at 7:26 PM, Young III, Russell Alonzo <[email protected]
> wrote:

>  It looks like CAS for some reason isn't getting the full URL for the
> proxy callback. In your web.xml for the proxyCallbackUrl you should have
> the full URL (e.g. https://foo.bar/proxy/receptor) and just
> "/proxy/receptor"  for the proxyReceptorUrl.
>
> ------------------------------
> *From:* Karl Nielsen [[email protected]]
> *Sent:* Thursday, June 20, 2013 4:38 PM
> *To:* [email protected]
> *Subject:* [cas-user] /proxy/receptor
>
>   I am getting some strange errors that I am having a hard time tracking
> down. I am getting this exception:
>
>  2013-06-20 14:56:01,350 ERROR
> [org.jasig.cas.web.ServiceValidateController] - <Error constructing pgtUrl>
> java.net.MalformedURLException: no protocol: /proxy/receptor
>         at java.net.URL.<init>(URL.java:597)
>         at java.net.URL.<init>(URL.java:494)
>         at java.net.URL.<init>(URL.java:443)
>
>  If I just go to my cas server in my browser it lets me login just fine.
> If I go to my app, named MMP, it shows in the logs that it is verifying the
> ticket and works good too. Everything is running fine, then all of a sudden
> it no longer works and wont SSO.
>
>  After this happens if I try and browse to the server in IE, I get a
> "There is a problem with this website's security certificate" error. Chrome
> doesn't even give me that, it just spins and spins and spins.
>
>  It then logs an unknown user:
>
>  =============================================================
> WHO: audit:unknown
> WHAT: ST-218-eE2tdvOIjPOaWoX92RyP-cas.mycompany.com
> ACTION: SERVICE_TICKET_VALIDATED
> APPLICATION: CAS
> WHEN: Thu Jun 20 14:56:01 MDT 2013
> CLIENT IP ADDRESS: 10.1.2.50
> SERVER IP ADDRESS: 10.1.2.85
> =============================================================
>
>  Any idea as to how to go about debugging this?
>
> --
> You are currently subscribed to [email protected] as: [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>  --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to