[cas-dev] HttpBasedServiceCredentialsAuthenticationHandler Query

Luke McLean luke.mclean at boundless.co.nz
Tue Mar 13 18:11:01 EDT 2007


Thanks Scott,

I implemented some debugging and found that the status code being returned
was 500 (Internal Server Error). The problem turned out to be that the
ProxyTicketReceptor servlet was within the url-pattern of the CASFilter in
the web.xml file.  I guess that this was setting up a continuous loop.  I
moved the webapp down a directory, changed the filter and now it is working.

Blessings,
Luke.


Generally that handler only fails for one of three reasons:

1. Invalid/missing certificate/mismatched host name.
2. Bad status code returned.  By default the following status codes are
okay:
HttpURLConnection.HTTP_OK, HttpURLConnection.HTTP_NOT_MODIFIED,
        HttpURLConnection.HTTP_MOVED_TEMP, HttpURLConnection.HTTP_MOVED_PERM
,
        HttpURLConnection.HTTP_ACCEPTED
3. Insecure URL when its expecting a secure url.

-Scott


-- 
View this message in context: http://www.nabble.com/HttpBasedServiceCredentialsAuthenticationHandler-Query-tf3366911.html#a9464544
Sent from the CAS Users mailing list archive at Nabble.com.



More information about the cas mailing list