Hi all, and first of all, thanks in advance. Here's my problem:

[*CAS version*]: 5.2.0-RC1 (I need features from this version)

[*Background*]:
My application used pac4j to allow user to login using for example Fb, 
Google Linkedin and such. 

[*Problem*]:
However, only certain users that are authorized are allowed to login using 
those pac4j method. However, now I use pac4j as login method everybody can 
login.

[*Question*]:
Is it possible to allow only authorized user to use pac4j authentication? 
For example maybe I can use a database, which specified only Peter, Mary 
and John can use Fb to login. Then other random people cannot use pac4j as 
login method.

[*Things I tried*]:
I tried to configure this bean: "clientAuthenticationHandler" in 
"org.apereo.cas.support.pac4j.config.support.authentication", and I found 
out that nothing I can do that can implement what I need.

I would like to edit this: ClientAuthenticationHandler -> doAuthentication, 
and add my customization, but it is not a bean. and I don't really want to 
replace any source code.



Any help would be appreciated!

-- 
- 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/8f051eb3-3f84-4e48-aba8-45cdee90dab4%40apereo.org.

Reply via email to