public class AttributeStatusManagement extends StatusManagement
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ATTR_NAME |
protected static String |
ATTR_VALUE_ACTIVE |
protected static String |
ATTR_VALUE_INACTIVE |
| Constructor and Description |
|---|
AttributeStatusManagement() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getOperationalAttributes()
Provide all the ldap attributes needed to know the entity status.
|
Boolean |
getStatus(Attributes attributes,
List<String> posixGroups,
List<String> ldapGroups)
Implement this method to retrieve user status from the given parameters.
|
void |
setStatus(boolean status,
Attributes attributes,
List<String> posixGroups,
List<String> ldapGroups)
Implements this method to alter information given by input parameters in
order to implement a custom enable/disable behaviour.
|
getInstanceprotected static final String ATTR_NAME
protected static final String ATTR_VALUE_ACTIVE
protected static final String ATTR_VALUE_INACTIVE
public void setStatus(boolean status,
Attributes attributes,
List<String> posixGroups,
List<String> ldapGroups)
StatusManagementsetStatus in class StatusManagementattributes - entity ldap attributes.posixGroups - entity ldap groups.ldapGroups - entity posix groups.public Boolean getStatus(Attributes attributes, List<String> posixGroups, List<String> ldapGroups)
StatusManagementgetStatus in class StatusManagementattributes - entity ldap attributes.posixGroups - entity posix groups.ldapGroups - entity ldap groups.public Set<String> getOperationalAttributes()
StatusManagementgetOperationalAttributes in class StatusManagementCopyright © 2013. All Rights Reserved.