Class AbstractDirectoryServiceUserAccountStatusInterpreter
java.lang.Object
org.alfresco.repo.security.sync.ldap.AbstractDirectoryServiceUserAccountStatusInterpreter
- Direct Known Subclasses:
LDAPADUserAccountStatusInterpreter,LDAPUserAccountStatusInterpreter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanSpecify if the particular implementation ofisUserAccountDisabled(Serializable)will accept null.protected voidabstract booleanisUserAccountDisabled(Serializable userAccountStatusValue) Check if directory server user account status is disabled.
-
Field Details
-
USER_ACCOUNT_STATUS_NOT_NULL_MESSAGE
- See Also:
-
-
Constructor Details
-
AbstractDirectoryServiceUserAccountStatusInterpreter
public AbstractDirectoryServiceUserAccountStatusInterpreter()
-
-
Method Details
-
checkForNullArgument
-
isUserAccountDisabled
public abstract boolean isUserAccountDisabled(Serializable userAccountStatusValue) throws IllegalArgumentException Check if directory server user account status is disabled.- Parameters:
userAccountStatusValue- value to interpret user account status from;- Returns:
- true if interpreted as disabled, false otherwise
- Throws:
IllegalArgumentException
-
acceptsNullArgument
public abstract boolean acceptsNullArgument()Specify if the particular implementation ofisUserAccountDisabled(Serializable)will accept null.- Returns:
- true if accepts null.
-