Hi All,

I have a problem with Spring Security + CAS configuration. I have logged with 
restful API from an application desktop and I can see server's logs with this 
message.

<Granted service ticket [ST-1-PLbaOcp9xIl6P5alhLkx-cas] for service 
[http://localhost:8080/auditorium/j_spring_cas_security_check] for user 
[username]>
     [java] 2010-09-14 16:15:22,342 INFO 
[org.jasig.cas.web.flow.InitialFlowSetupAction] - <Setting path for cookies to: 
/cas>

All right.

But when I try to connect to restricted area of my webapp, I have to login 
again. If I repeat the login, these are the server's logs:

<Granted service ticket [ST-2-VVLdmsuzZldmFcYdcOQb-cas] for service 
[http://localhost:8080/auditorium/j_spring_cas_security_check] for user 
[username]>

Everything is OK from that moment. I think that Spring Security does not know 
that there is a ticket, and creates a new one. 

I want to use restful API for avoiding the CAS login page because is a 
requirement of my customer.

I have configured my CAS to Single Sign On in a HTTPS service, and I am sure 
that the service is the same in both applications.

Somebody has an idea for that.

Thank you very much.
-- 
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