1. I have two authentication handlers. Can I configure two sets of
attributes responses as well (as determined by which handler
authenticated the request)? *Need help here please!*
I think you could.
We have two credentialsToPrincipalResolvers. Each has its own attribute
repository bean in deployerConfig.xml
One repository is connected with LDAP and has 6 attributes.
Second is connected with mySql and has only 2 attributes.
Such configuration was necessary because part of our users still exists
only in old mySql database.
2.1 The somewhat correct way (pre 3.3.2?): In
*/casServiceValidationSuccess.jsp/*, just after the <cas:user> end tag,
We use SAML protocol instead of CAS2.0. SAML supports attributes out of
the box.
2.2 The correct way: In *deployerConfigContext.xml* using
/attributeRepository/. We have
https://wiki.jasig.org/display/CASUM/Attributes for reference. Instead
of LDAP, how about a DAO example or even simpler static (hardcoded)
values in response? Is there a need for a Resolver? *Need to understand
this*.
I'm using:
org.jasig.services.persondir.support.jdbc.SingleRowJdbcPersonAttributeDao
as a repository, maybe you will find similar class for you purposes.
--
Michal Pysz
Information Technology Section
Jagiellonian University
Krakow, Poland
https://login.uj.edu.pl/
http://www.jasig.org/cas/deployments/jagiellonian-university-
--
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