Hi,
I created CustomAuthenticationResponseHandler with CustomAccountState. I
added below to my Properties file. It is throwing AccountState is null
error. The Default State Handler doesn't have my Custom Account State.
cas.authn.ldap[1].passwordPolicy.customPolicyClass=com.cga.oms.sso.authentication.handler.AaimsAuthenticationResponseHandler
So, i tried adding my own accountStateHandler for this LDAP. But it is not
working.
cas.authn.ldap[1].passwordPolicy.accountStateHandler=com.cga.oms.sso.authentication.handler.AaimsAccountStateHandler
Finally i added below and the PasswordPolicyControl AccountState is throwing
the exceptions for ACCOUNT_LOCKED, PASSWORD_EXPIRED and PASSWORD_MUST_CHANGE.
PPC doesn't support Account_Disabled
cas.authn.ldap[1].passwordPolicy.policyAttributes.password_expired=javax.security.auth.login.CredentialExpiredException
*I need help with ACCOUNT_DISABLED/ Registering CUSTOMACCOUNTSTATE. *
CAS Properties:
cas.authn.ldap[1].type=AUTHENTICATED
cas.authn.ldap[1].useSsl=false
cas.authn.ldap[1].useStartTls=false
cas.authn.ldap[1].connectTimeout=5000
cas.authn.ldap[1].ldapUrl=ldap\://cgldadsxxxx:xxxxx/
cas.authn.ldap[1].baseDn=DC=xxxxx,DC=COM
cas.authn.ldap[1].userFilter=uid={xxxx}
cas.authn.ldap[1].bindDn=uid=xxxxx,ou=system
cas.authn.ldap[1].bindCredential=xxxxxx
cas.authn.ldap[1].principalAttributeId=uid
cas.authn.ldap[1].principalAttributePassword=
cas.authn.ldap[1].principalAttributeList=uid,sn,cn,givenName,mail,title,organizationDescription,pwdLastSet
cas.authn.ldap[1].failFast=false
cas.authn.ldap[1].passwordPolicy.type=GENERIC
cas.authn.ldap[1].passwordPolicy.enabled=true
*Thanks,*
*UV*
--
- 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/872faea5-6e02-41d1-a320-bd8c7fe047fa%40apereo.org.