Edwin, When you say, ³I implemented a webservice², I take it you mean, ³I wrote a separate application that completely separate from the cas.war, which constitutes CAS, and attempts to talk with the CAS server via HTTP(S) to obtain information about a user². If that is the case, then you would have to create some entry point within the CAS server that will provide the functionality you want. This entry point, when configured within the Spring configuration, could be injected with the ³ticketRegistry² bean found in WEB-INF/spring-configuration/ticketRegistry.xml.
A- On 2/16/09 1:15 PM, "Edwin Guilbert" <[email protected]> wrote: > Hi Andrew, > > I implemented a webservice that calls the central authentication service in > order to get the user id from a service ticket. > But I don¹t know how to access access the ticket registry inside this > wbeservice running on CAS. I don¹t think the central authentication webservice > has a method for that. > > What code do I have to inject to the ticket registry bean? > > Thanks, > > > > Edwin Guilbert Sánchez > Consultor e-Business > [email protected] > > VASS Consultoría de Sistemas > Tel: +34 916 623 404 Ext. 552 > Fax: +34 916 616 833 > Avda. Doctor Severo Ochoa, 25 Planta 4 > 28100 Alcobendas (Madrid) > www.vass.es <http://www.vass.es/> > > Este correo electrónico así como los documentos adjuntos al mismo son > estrictamente confidenciales y únicamente pueden ser utilizados por la persona > a la que se hubiera dirigido y exclusivamente para las finalidades perseguidas > por el remitente. Si ha recibido este mensaje por error, comuníquelo > inmediatamente a la dirección de correo electrónico: [email protected] o al > teléfono (+34) 91 6623404 y proceda a su eliminación. La distribución, > divulgación, reproducción o utilización de este correo electrónico, o de > cualquier documento adjunto al mismo para finalidades distintas de las > expresamente autorizadas por el remitente no está permitida. Si no consintiese > en la utilización del correo electrónico le rogamos nos lo comunique y ponga > en nuestro conocimiento de manera inmediata en cualquiera de las direcciones > anteriormente indicadas. > P Antes de imprimir este mensaje, asegúrese de que es necesario. El medio > ambiente está en nuestra mano. > > > De: Andrew Feller [mailto:[email protected]] > Enviado el: lunes, 16 de febrero de 2009 19:44 > Para: [email protected] > Asunto: Re: [cas-user] Query ticket granting ticket > > Edwin, > > If this is a service that you will run from within the CAS server, then you > can fetch it from the ticket registry by creating some code and injecting it > with the ticket registry bean. If this application is external to CAS, then I > don¹t know of anything packaged that already does that. > > A- > > > On 2/16/09 12:11 PM, "Edwin Guilbert" <[email protected]> wrote: > Hi, > > We are developing a SSO application and we need to know when a user initiated > a single sign on session. > > Is there a service in CAS for retrieving the date when the ticket granting > ticket was issued for a user? > I suppose the time when the ticket granting cookie was issued for a user is > the time when the user initiated the SSO session. > > Any help would be appreciated, > > > Edwin Guilbert Sánchez > Consultor e-Business > [email protected] > > -- > Andrew Feller, Analyst > LSU University Information Services > 200 Frey Computing Services Center > Baton Rouge, LA 70803 > Office: 225.578.3737 > Fax: 225.578.6400 -- 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
