You can use JNDI without any issues. Take a look at the Spring documentation on how to load something from JNDI.
For the return of the attribubes you can either modify the validation jsp response, or you can use a response like the SAML 1.1 response. Cheers, Scott On Mon, Jun 22, 2009 at 9:18 AM, Jean-Noel Colin <[email protected]> wrote: > Hi > I'm now working on the attributeRepository part. After authenticating users > against our Oracle DB using a custom authenticator (due to complex query), I > now need to extract some attributes of the user to populate the principal > and return it to the client. I'm planning to use a > SingleRowJdbcPersonAttributeDao, that requires a datasource. I was wondering > whether it is possible to use a jndi name as the datasource rather than > having to specify it completely in deployerConfigContext.xml? > > Also, to pass attributes to services, do I need to do all following? > > - define the attributes in the attributeRepository > - give access service by service to the necessary attributes > - modify the validation jsp to return those attributes? > > > THanks a lot > > Jean-Noël > > -- 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
