Class LDAPUserAccountStatusInterpreter
java.lang.Object
org.alfresco.repo.security.sync.ldap.AbstractDirectoryServiceUserAccountStatusInterpreter
org.alfresco.repo.security.sync.ldap.LDAPUserAccountStatusInterpreter
public class LDAPUserAccountStatusInterpreter
extends AbstractDirectoryServiceUserAccountStatusInterpreter
-
Field Summary
Fields inherited from class org.alfresco.repo.security.sync.ldap.AbstractDirectoryServiceUserAccountStatusInterpreter
USER_ACCOUNT_STATUS_NOT_NULL_MESSAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecify if the particular implementation ofAbstractDirectoryServiceUserAccountStatusInterpreter.isUserAccountDisabled(Serializable)will accept null.booleanisUserAccountDisabled(Serializable userAccountStatus) Check if directory server user account status is disabled.voidsetAcceptNullArgument(boolean acceptNullArgument) voidsetDisabledAccountPropertyValue(String disabledAccountPropertyValue) Methods inherited from class org.alfresco.repo.security.sync.ldap.AbstractDirectoryServiceUserAccountStatusInterpreter
checkForNullArgument
-
Constructor Details
-
LDAPUserAccountStatusInterpreter
public LDAPUserAccountStatusInterpreter()
-
-
Method Details
-
setDisabledAccountPropertyValue
-
setAcceptNullArgument
public void setAcceptNullArgument(boolean acceptNullArgument) -
isUserAccountDisabled
Description copied from class:AbstractDirectoryServiceUserAccountStatusInterpreterCheck if directory server user account status is disabled.- Specified by:
isUserAccountDisabledin classAbstractDirectoryServiceUserAccountStatusInterpreter- Parameters:
userAccountStatus- value to interpret user account status from;- Returns:
- true if interpreted as disabled, false otherwise
-
acceptsNullArgument
public boolean acceptsNullArgument()Description copied from class:AbstractDirectoryServiceUserAccountStatusInterpreterSpecify if the particular implementation ofAbstractDirectoryServiceUserAccountStatusInterpreter.isUserAccountDisabled(Serializable)will accept null.- Specified by:
acceptsNullArgumentin classAbstractDirectoryServiceUserAccountStatusInterpreter- Returns:
- true if accepts null.
-