I have created custom class for authentication. My custom class has two user stores to authenticate - novell eDirectory and Sun LDAP. I have created a wrapper over Novell LocalAuthenticationClass. When i'm authenticating the user with novell eDirectory, if the password is expired it is returning 5 and redirecting to password expiration servlet. But when i'm authenticating with SUN LDAP, if the password is expired it is returning 6 which is authentication failure value.
Both approaches are using Novell LocalAuthenticationClass. Only difference is the user store. So what can be the reason for this behaviour?
But one thing is sure that, even on right password Sun Authentication class is returning 6. This means it is understanding the password expiration time. But still instead of 5 , it is returning 6. And it is not redirecting to password expiration servlet.