CAS "randomly" not redirecting properly

View: New views
2 Messages — Rating Filter:   Alert me  

CAS "randomly" not redirecting properly

by ssozonoff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a strange issue where the login and redirect process in CAS breaks down somtimes.
Basically for https it is appending a port 80 to the URL and I am not sure at what stage and for what reason this happens.

Below is a log extract if it helps....


...
2008-04-21 14:52:06,628 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-34-gFWqUbgH56i42QCzTacf-qaapi] for service [http://qadeveloper.xxxxxx.com/cpanel/dashboard] for user [cy.r
i.l@xxxxxxxx.com]>
2008-04-21 14:52:06,628 DEBUG [org.jasig.cas.web.flow.GenerateServiceTicketAction] - <Action 'GenerateServiceTicketAction' completed execution; result is 'success'>
2008-04-21 14:52:06,767 DEBUG [org.jasig.cas.web.support.CasArgumentExtractor] - <Extractor generated service for: http://qadeveloper.xxxxxx.com/cpanel/dashboard>
2008-04-21 14:52:06,767 DEBUG [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler] - <Attempting to resolve credentials for https://qadeveloper.xxxxxx.com/cpanel/dashboard
>
2008-04-21 14:52:06,851 DEBUG [org.jasig.cas.web.flow.InitialFlowSetupAction] - <Action 'InitialFlowSetupAction' beginning execution>
2008-04-21 14:52:06,851 DEBUG [org.jasig.cas.web.support.CasArgumentExtractor] - <Extractor generated service for: https://qadeveloper.xxxxxx.com:80/cpanel/dashboard>
2008-04-21 14:52:06,851 DEBUG [org.jasig.cas.web.flow.InitialFlowSetupAction] - <Placing service in FlowScope: https://qadeveloper.xxxxxx.com:80/cpanel/dashboard>
2008-04-21 14:52:06,851 DEBUG [org.jasig.cas.web.flow.InitialFlowSetupAction] - <Action 'InitialFlowSetupAction' completed execution; result is 'success'>
2008-04-21 14:52:06,851 DEBUG [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action 'AuthenticationViaFormAction' beginning execution>
2008-04-21 14:52:06,851 DEBUG [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Executing setupForm>
2008-04-21 14:52:06,851 DEBUG [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new form object with name 'credentials'>
2008-04-21 14:52:06,851 DEBUG [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new instance of form object class [class org.jasig.cas.authentic
...

Anyone have any ideas?

Kind Thanks,
Serge

Re: CAS "randomly" not redirecting properly

by scott_battaglia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>From the looks of it, the service url being sent to CAS is messed up.  It doesn't appear to be an issue with the CAS server.  You may want to check that the client is configured correctly.

-Scott

On Mon, Apr 21, 2008 at 9:17 AM, ssozonoff <serge@...> wrote:

Hi,

I have a strange issue where the login and redirect process in CAS breaks
down somtimes.
Basically for https it is appending a port 80 to the URL and I am not sure
at what stage and for what reason this happens.

Below is a log extract if it helps....


...
2008-04-21 14:52:06,628 INFO
[org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket
[ST-34-gFWqUbgH56i42QCzTacf-qaapi] for service
[http://qadeveloper.xxxxxx.com/cpanel/dashboard] for user [cy.r
i.l@...]>
2008-04-21 14:52:06,628 DEBUG
[org.jasig.cas.web.flow.GenerateServiceTicketAction] - <Action
'GenerateServiceTicketAction' completed execution; result is 'success'>
2008-04-21 14:52:06,767 DEBUG
[org.jasig.cas.web.support.CasArgumentExtractor] - <Extractor generated
service for: http://qadeveloper.xxxxxx.com/cpanel/dashboard>
2008-04-21 14:52:06,767 DEBUG
[org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler]
- <Attempting to resolve credentials for
https://qadeveloper.xxxxxx.com/cpanel/dashboard
>
2008-04-21 14:52:06,851 DEBUG
[org.jasig.cas.web.flow.InitialFlowSetupAction] - <Action
'InitialFlowSetupAction' beginning execution>
2008-04-21 14:52:06,851 DEBUG
[org.jasig.cas.web.support.CasArgumentExtractor] - <Extractor generated
service for: https://qadeveloper.xxxxxx.com:80/cpanel/dashboard>
2008-04-21 14:52:06,851 DEBUG
[org.jasig.cas.web.flow.InitialFlowSetupAction] - <Placing service in
FlowScope: https://qadeveloper.xxxxxx.com:80/cpanel/dashboard>
2008-04-21 14:52:06,851 DEBUG
[org.jasig.cas.web.flow.InitialFlowSetupAction] - <Action
'InitialFlowSetupAction' completed execution; result is 'success'>
2008-04-21 14:52:06,851 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'AuthenticationViaFormAction' beginning execution>
2008-04-21 14:52:06,851 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Executing setupForm>
2008-04-21 14:52:06,851 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new form
object with name 'credentials'>
2008-04-21 14:52:06,851 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new
instance of form object class [class org.jasig.cas.authentic
...

Anyone have any ideas?

Kind Thanks,
Serge
--
View this message in context: http://www.nabble.com/CAS-%22randomly%22-not-redirecting-properly-tp16807720p16807720.html
Sent from the CAS Dev mailing list archive at Nabble.com.

_______________________________________________
cas-dev mailing list
cas-dev@...
http://tp.its.yale.edu/mailman/listinfo/cas-dev



--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
cas-dev mailing list
cas-dev@...
http://tp.its.yale.edu/mailman/listinfo/cas-dev