After my previous reply i changed the code a little, a /<path>/ is configured 
for a controller, when the flow comes to "handleRequestInternal" method im 
doing the following...


 proxyGrantingTicketId = this.centralAuthenticationService
                  .createTicketGrantingTicket(uc);
               serviceTicketId = centralAuthenticationService
                  .grantServiceTicket(
                     proxyGrantingTicketId,
                     new 
SimpleWebApplicationServiceImpl("https://localhost:8443/acegi/j_acegi_cas_security_check";),
                     uc);

added above code is to test the concept. here the Credentials object is a 
custom class i've created which will have a username prop. after this im doing 
the following


response.sendRedirect("https://localhost:8443/acegi/j_acegi_cas_security_check?ticket="+serviceTicketId);


this will redirect me to acegi application im using but not to the correct user.


i strongly believe this is not a suggested way of doing things definetly, but i 
dont see any other possibility where i can bypass logging into CAS and allow 
user into system.

any suggestions would be appreciated.

Thank you,
bala.
-- 
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