I am trying to upgrade my CAS installation  from 3.5 to 5.1. 

I need to query a database for security roles.   The problem I am having is 
that they are not keyed on the user's username.  They are keyed on a id that we 
keep in LDAP.  I can get the LDAP authentication to return the ID fine but all 
of the AttributeRepositories  seem to only take username as the input.  

In 3.5 I extended AbstractDefaultAttributePersonAttributeDao made it the 
attribute repository and on the constructor passed in a LdapPersonAttributeDao 
which I called to populate the attributes from LDAP.  Then got the ID out of 
them and did my query.


Is there a way to access the attributes from the Attribute Repositories?  Any 
Ideas?

Jeffrey Simpson  | Senior Software Engineer
Youth For Understanding USA
(p) 202.774.5266 (f) 202.588.7571         

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/BN6PR1001MB2049C8C3645C904C343F3E2FB1CB0%40BN6PR1001MB2049.namprd10.prod.outlook.com.

Reply via email to