If you want an automatically generated response you should use the SAML 1.1 response. The CAS2 protocol doesn't technically support attributes which is why its necessary to add something to automatically construct the XML.
-Scott On Mon, Jun 22, 2009 at 9:37 AM, Jean-Noel Colin <[email protected]> wrote: > Scott, > why can't the server automatically build the attribute list to return from > the service management, rather than me having to modify the validation > response jsp? > > Cheers > > Jean-noel > > > On 22 Jun 2009, at 15:25, Scott Battaglia wrote: > > 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 > > > -- 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
