Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Not throwing UserLockoutException.LDAPLockout.class, When Account is locked
Hi All,
liferay dxp portal configred with LDAP server.
When user account is locked in LDAP that user not getting "this-account-is-locked" key related message.
It always getting "authentication-failed" key related message.
Note:
As per my observation,
Actual Result:
Alway throwing exception class i.e,AuthException.class even user account is locked in LDAP also.
Expected Result:
It should be throw exception class i.e,UserLockoutException.LDAPLockout.class when user account is locked in LDAP.
Can any one help me out
liferay dxp portal configred with LDAP server.
When user account is locked in LDAP that user not getting "this-account-is-locked" key related message.
It always getting "authentication-failed" key related message.
Note:
As per my observation,
Actual Result:
Alway throwing exception class i.e,AuthException.class even user account is locked in LDAP also.
Expected Result:
It should be throw exception class i.e,UserLockoutException.LDAPLockout.class when user account is locked in LDAP.
Can any one help me out
Hi Chanakya,
take a look at https://dev.liferay.com/discover/deployment/-/knowledge_base/7-1/ldap#ldap-options-available-in-system-settings
Because error messages differ between LDAP servers, you need to define keywords for Liferay to know which error actually occured.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™