Hello, 

Currently,  *LdapAuthenticationHandler.java*  is handling the Ldap 
authentication related to CAS. Suppose, I want to take some more operations 
based on the result of the Ldap authentication,  how I be able to do the 
same?  I mean something extra like locking the user, if the user tried to 
login more than 6 times (we have this specific use case). For this, do we 
need to bring up a customized  *LdapAuthenticationHandler* by 
extending  AbstractUsernamePasswordAuthenticationHandler?

Thank you in advance.

On Thursday, 3 December 2020 at 23:15:42 UTC+5:30 Sobhen C wrote:

> Hello,
>
> In the LDAP  flow, I need to perform some operations like below
>
> 1. If the user is locked, we need to display a custom error message
> 2. Max. possible lock count is 6 and we need to check that count each 
> login click
> 3. if the user is inactive, we need to save some information in a separate 
> table
>
> In the CAS 3.5.4, I was able to handle all these in 
> BandLdapAuthenicationHandler, 
> but coming to CAS 6.2.2, how to perform these customized operations?
>
> Please provide some guidance on this, I went through the documentations 
> but didn't get a clue, how to proceed in this.
> Also, how will we be able to create some custom errors for view?
>
> With regards,
> Sobhen
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/886a806d-0609-49bc-ab9f-3cccb8501d6fn%40apereo.org.

Reply via email to