You can inject your own bean definition into the context with the following 
signature:



https://github.com/apereo/cas/blob/5.1.x/core/cas-server-core-authentication/src/main/java/org/apereo/cas/config/CasPersonDirectoryConfiguration.java#L63



Construct the list with your own and stuff your repository impl into it.



--Misagh



From: [email protected] [mailto:[email protected]] On Behalf Of Jeffrey 
Simpson
Sent: Friday, June 9, 2017 2:26 PM
To: CAS Community <[email protected]>
Subject: Re: [cas-user] Attribute Repository using other than username



5.1

thanks



Jeffrey Simpson | Senior Software Engineer

Youth For Understanding USA
(p) 202.774.5266 (f) 202.588.7571

  _____

From: [email protected] <mailto:[email protected]>  <[email protected] 
<mailto:[email protected]> > on behalf of Misagh Moayyed 
<[email protected] <mailto:[email protected]> >
Sent: Friday, June 9, 2017 1:05:42 PM
To: CAS Community
Subject: RE: [cas-user] Attribute Repository using other than username



I forget. Are you targetting 5.0 or 5.1?



--Misagh



From: simpson [mailto:[email protected]]
Sent: Thursday, June 8, 2017 12:00 PM
To: CAS Community <[email protected] <mailto:[email protected]> >
Cc: [email protected] <mailto:[email protected]>
Subject: Re: [cas-user] Attribute Repository using other than username



Thanks for your reply.  I you can find my deployerConfigContext.xml and java 
file at the following links:



deployerConfigContext.xml 
<https://my.yfu.org/files/deployerConfigContext.xml>

SecurityRolesMapper.java <https://my.yfu.org/files/SecurityRolesMapper.java>



As you can see I used multiple Authenticators.



Thanks for your help.





  _____

This email has been scanned for spam and viruses by Proofpoint Essentials. 
Click here 
<https://us2.proofpointessentials.com/index01.php?mod_id=11&mod_option=logitem&mail_id=1496937584-kKZuj%2Bj3SllR&r_address=mmoayyed%40unicon.net&report=1>
 
to report this email as spam.


=

-- 
- 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 a topic in the 
Google Groups "CAS Community" group.
To unsubscribe from this topic, visit 
https://groups.google.com/a/apereo.org/d/topic/cas-user/umVN55tw-DY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected] <mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/010b01d2e142%24a03cb570%24e0b62050%24%40unicon.net
 
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/010b01d2e142%24a03cb570%24e0b62050%24%40unicon.net?utm_medium=email&utm_source=footer>
 
.

-- 
- 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] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/BN6PR1001MB204900EB68DBB48D2B470556B1CE0%40BN6PR1001MB2049.namprd10.prod.outlook.com
 
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/BN6PR1001MB204900EB68DBB48D2B470556B1CE0%40BN6PR1001MB2049.namprd10.prod.outlook.com?utm_medium=email&utm_source=footer>
 
.

-- 
- 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/01fa01d2e161%24549899d0%24fdc9cd70%24%40unicon.net.

Reply via email to