|
Hi, I’m very new with CAS and I’m having
a problem: I’ve configured a CAS server (3.0.4) which
successfully starts and authenticate users against a LDAP server. I’m
using an Acegi secured application as CAS client. First time I try to access
the application, the CAS login screen appears, then I enter the username and
password and I’m redirected to my application main page. But, If I open a second browser and try to enter into
the application, the CAS login screen is shown again… shuldn’t be I
already authenticated? Same happens with a third, fourth,… browser. I’ve changed this parameter (from value 1 to
value 1000) in the serviceTicketExpirationPolicy bean: <!-- This argument is the
number of times that a ticket can be used before its considered expired. --> <constructor-arg index="0"
value="1000" /> But nothing has changed… I’m sure the “renew=true” parameter
is not sent, because I can see the url and it is not present. BTW, I can’t see any cookie in my “temporal
internet files” when I login… Should I have got one? I would be very grateful if someone can help me or
point me in the right direction (is there any user /configuration guide
anywhere?) Thanks in advance, Jose Luis. This is what the log shows: 2006-07-04 09:18:05,472 DEBUG
[org.jasig.cas.web.flow.TicketGrantingTicketExistsAction] - <Action
'org.jasig.cas.web.flow.TicketGrantingTicketExistsAction' beginning
execution> 2006-07-04 09:18:05,472 DEBUG
[org.jasig.cas.web.flow.TicketGrantingTicketExistsAction] - <Action
'org.jasig.cas.web.flow.TicketGrantingTicketExistsAction' completed execution;
result event is [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id =
'noTicketGrantingTicketExists', stateId = [null], parameters = [null]]> 2006-07-04 09:18:05,472 DEBUG
[org.jasig.cas.web.flow.GatewayRequestCheckAction] - <Action
'org.jasig.cas.web.flow.GatewayRequestCheckAction' beginning execution> 2006-07-04 09:18:05,503 DEBUG
[org.jasig.cas.web.flow.GatewayRequestCheckAction] - <Action
'org.jasig.cas.web.flow.GatewayRequestCheckAction' completed execution; result
event is [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id =
'authenticationRequired', stateId = [null], parameters = [null]]> //LOGIN SCREEN IS SHOWN, AND I ENTER MY
IDENTIFICATION 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'org.jasig.cas.web.flow.AuthenticationViaFormAction' beginning execution> 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new form
object 'credentials'> 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new form
object of class
[org.jasig.cas.authentication.principal.UsernamePasswordCredentials]> 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <No property editor
registrar set, no custom editors to register> 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Binding allowed parameters
in event: [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id = 'submit', stateId =
'viewLoginForm', parameters = map['password' -> 'holamundo', 'service' ->
'https://Tomcat:9443/psegldap/j_acegi_cas_security_check', 'lt' ->
'1BCECD27-9043-84C1-F980-20F4F9911C55', 'username' -> 'usuarioldap2',
'_currentStateId' -> 'viewLoginForm', '_eventId' -> 'submit']] to form
object with name: 'credentials', prebind-toString:
[EMAIL PROTECTED]<null>]> 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <(Any event parameter
is allowed)> 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Binding completed
for form object with name: 'credentials', postbind-toString:
[EMAIL PROTECTED]> 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <There are [0]
errors, details: []> 2006-07-04 09:19:00,847 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Invoking validator:
[EMAIL PROTECTED]> 2006-07-04 09:19:00,894 DEBUG [org.jasig.cas.web.flow.AuthenticationViaFormAction]
- <Validation completed for form object with name: 'credentials'> 2006-07-04 09:19:00,894 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <There are [0]
errors, details: []> 2006-07-04 09:19:00,894 DEBUG [org.jasig.cas.web.flow.AuthenticationViaFormAction]
- <Action 'org.jasig.cas.web.flow.AuthenticationViaFormAction' completed
execution; result event is [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id = 'success', stateId
= [null], parameters = [null]]> 2006-07-04 09:19:00,894 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'org.jasig.cas.web.flow.AuthenticationViaFormAction' beginning execution> 2006-07-04 09:19:00,894 DEBUG
[org.jasig.cas.CentralAuthenticationServiceImpl] - <Attempting to create
TicketGrantingTicket for
[EMAIL PROTECTED]> 2006-07-04 09:19:01,207 INFO
[org.jasig.cas.authentication.AuthenticationManagerImpl] -
<AuthenticationHandler:
org.acegisecurity.adapters.cas3.CasAuthenticationHandler successfully
authenticated the user.> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver]
- <Creating SimplePrincipal for [usuarioldap2]> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Added ticket
[TGT-5-2y6VvZzptFO3CzY2ReXZ3ADKFlBexNKuRbg-50] to registry.> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.util.SecureCookieGenerator] - <Removed cookie with name
[CASPRIVACY]> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'org.jasig.cas.web.flow.AuthenticationViaFormAction' completed execution;
result event is [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id = 'success',
stateId = [null], parameters = [null]]> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.flow.SendTicketGrantingTicketAction] - <Action
'org.jasig.cas.web.flow.SendTicketGrantingTicketAction' beginning execution> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.util.SecureCookieGenerator] - <Added cookie with name
[CASTGC] and value [TGT-5-2y6VvZzptFO3CzY2ReXZ3ADKFlBexNKuRbg-50]> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.flow.SendTicketGrantingTicketAction] - <Action
'org.jasig.cas.web.flow.SendTicketGrantingTicketAction' completed execution;
result event is [EMAIL PROTECTED] source = [EMAIL PROTECTED],
id = 'success', stateId = [null], parameters = [null]]> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.flow.HasServiceCheckAction] - <Action
'org.jasig.cas.web.flow.HasServiceCheckAction' beginning execution> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.flow.HasServiceCheckAction] - <Action
'org.jasig.cas.web.flow.HasServiceCheckAction' completed execution; result
event is [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id = 'hasService', stateId
= [null], parameters = [null]]> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.flow.GenerateServiceTicketAction] - <Action
'org.jasig.cas.web.flow.GenerateServiceTicketAction' beginning execution> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to
retrieve ticket [TGT-5-2y6VvZzptFO3CzY2ReXZ3ADKFlBexNKuRbg-50]> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Ticket
[TGT-5-2y6VvZzptFO3CzY2ReXZ3ADKFlBexNKuRbg-50] found in registry.> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Added ticket
[ST-4-fckOryQeHJUl0HmQ23L2H0FZ4cKQtBA0tqa-20] to registry.> 2006-07-04 09:19:01,207 INFO
[org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket
[ST-4-fckOryQeHJUl0HmQ23L2H0FZ4cKQtBA0tqa-20] for service
[https://Tomcat:9443/psegldap/j_acegi_cas_security_check] for user
[usuarioldap2]> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.flow.GenerateServiceTicketAction] - <Action 'org.jasig.cas.web.flow.GenerateServiceTicketAction'
completed execution; result event is [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id = 'success',
stateId = [null], parameters = [null]]> 2006-07-04 09:19:01,207 DEBUG [org.jasig.cas.web.flow.WarnAction]
- <Action 'org.jasig.cas.web.flow.WarnAction' beginning execution> 2006-07-04 09:19:01,207 DEBUG
[org.jasig.cas.web.flow.WarnAction] - <Action
'org.jasig.cas.web.flow.WarnAction' completed execution; result event is
[EMAIL PROTECTED] source = [EMAIL PROTECTED], id =
'redirect', stateId = [null], parameters = [null]]> 2006-07-04 09:19:01,222 DEBUG
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to
retrieve ticket [ST-4-fckOryQeHJUl0HmQ23L2H0FZ4cKQtBA0tqa-20]> 2006-07-04 09:19:01,222 DEBUG
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Ticket
[ST-4-fckOryQeHJUl0HmQ23L2H0FZ4cKQtBA0tqa-20] found in registry.> //THE APPLICATION SCREEN IS SHOWN //I OPEN A NEW BROWSER AND ENTER THE APPLICATION URL
AND A NEW CAS LOGIN SCREEN IS SHOWN AGAIN 2006-07-04 09:20:04,598 DEBUG
[org.jasig.cas.web.flow.TicketGrantingTicketExistsAction] - <Action
'org.jasig.cas.web.flow.TicketGrantingTicketExistsAction' beginning
execution> 2006-07-04 09:20:04,598 DEBUG [org.jasig.cas.web.flow.TicketGrantingTicketExistsAction]
- <Action 'org.jasig.cas.web.flow.TicketGrantingTicketExistsAction'
completed execution; result event is [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id = 'noTicketGrantingTicketExists',
stateId = [null], parameters = [null]]> 2006-07-04 09:20:04,598 DEBUG
[org.jasig.cas.web.flow.GatewayRequestCheckAction] - <Action
'org.jasig.cas.web.flow.GatewayRequestCheckAction' beginning execution> 2006-07-04 09:20:04,614 DEBUG
[org.jasig.cas.web.flow.GatewayRequestCheckAction] - <Action
'org.jasig.cas.web.flow.GatewayRequestCheckAction' completed execution; result
event is [EMAIL PROTECTED] source =
[EMAIL PROTECTED], id = 'authenticationRequired',
stateId = [null], parameters = [null]]> Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL. The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL. |
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
