Class DirectoryImpl
java.lang.Object
com.atlassian.crowd.model.InternalEntity
com.atlassian.crowd.model.directory.DirectoryImpl
- All Implemented Interfaces:
Attributes,Directory,TimestampedEntity,Serializable
Deprecated.
Implementation of Directory (designed for use with Hibernate).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.Key to decide whether synchronisable group attributes should be synchronised between the remote directory and the local cache.static final StringDeprecated.Key to decide whether we support local user status for a given LDAP directory.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Key to decide whether synchronisable user attributes should be synchronised between the remote directory and the local cache.static final StringDeprecated.static final charDeprecated.static final StringDeprecated.Key of attribute which holds the timestamp of the last configuration change.Deprecated.static final StringDeprecated.Fields inherited from class com.atlassian.crowd.model.InternalEntity
active, createdDate, id, name, updatedDate -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.DirectoryImpl(Directory directory) Deprecated.DirectoryImpl(InternalEntityTemplate template) Deprecated.Used for importing via XML migration.DirectoryImpl(String name, DirectoryType type, String implementationClass) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllowedOperation(OperationType operationType) Deprecated.booleanDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getKeys()Deprecated.Deprecated.Deprecated.getType()Deprecated.Deprecated.Deprecated.inthashCode()Deprecated.booleanisEmpty()Deprecated.voidremoveAttribute(String name) Deprecated.voidsetActive(boolean active) Deprecated.voidsetAllowedOperations(Set<OperationType> allowedOperations) Deprecated.voidsetAttribute(String name, String value) Deprecated.voidsetAttributes(Map<String, String> attributes) Deprecated.Sets the attributes of the directory.voidsetDescription(String description) Deprecated.voidsetImplementationClass(String implementationClass) Deprecated.voidDeprecated.voidsetType(DirectoryType type) Deprecated.final StringtoString()Deprecated.voidupdateAllowedOperationsFrom(Set<OperationType> allowedOperations) Deprecated.voidupdateAttributesFrom(Map<String, String> attributes) Deprecated.voidupdateDetailsFrom(Directory directory) Deprecated.voidvalidate()Deprecated.Methods inherited from class com.atlassian.crowd.model.InternalEntity
getCreatedDate, getId, getName, getUpdatedDate, isActive, setCreatedDate, setCreatedDateToNow, setUpdatedDate, setUpdatedDateToNowMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.crowd.embedded.api.Directory
getCreatedDate, getId, getName, getUpdatedDate, isActive, isPersistable
-
Field Details
-
ATTRIBUTE_KEY_USER_ENCRYPTION_METHOD
Deprecated.- See Also:
-
ATTRIBUTE_KEY_USE_NESTED_GROUPS
Deprecated.- See Also:
-
ATTRIBUTE_KEY_LOCAL_USER_STATUS
Deprecated.Key to decide whether we support local user status for a given LDAP directory. If the value is true, users can be enabled and disabled independently in Crowd and the LDAP server. If the value is false, user status is synchronised between Crowd and the LDAP server (for LDAP directories that support synchronisation of user status, like Active Directory). This option is only relevant for cached directories.- See Also:
-
ATTRIBUTE_KEY_AUTO_ADD_GROUPS
Deprecated.- See Also:
-
ATTRIBUTE_KEY_USE_PRIMARY_GROUP
Deprecated.- See Also:
-
ATTRIBUTE_KEY_USER_ATTRIBUTES_SYNC_ENABLED
Deprecated.Key to decide whether synchronisable user attributes should be synchronised between the remote directory and the local cache. This option is only relevant for cached directories. If absent, it is assumed to be false.- See Also:
-
ATTRIBUTE_KEY_GROUP_ATTRIBUTES_SYNC_ENABLED
Deprecated.Key to decide whether synchronisable group attributes should be synchronised between the remote directory and the local cache. This option is only relevant for cached directories. If absent, it is assumed to be false.- See Also:
-
LAST_CONFIGURATION_CHANGE
Deprecated.Key of attribute which holds the timestamp of the last configuration change. should be full- See Also:
-
AUTO_ADD_GROUPS_SEPARATOR
public static final char AUTO_ADD_GROUPS_SEPARATORDeprecated.- See Also:
-
PASSWORD_ATTRIBUTES
Deprecated. -
SANITISED_PASSWORD
Deprecated.- See Also:
-
-
Constructor Details
-
DirectoryImpl
public DirectoryImpl()Deprecated. -
DirectoryImpl
Deprecated.Used for importing via XML migration.- Parameters:
template- directory template.
-
DirectoryImpl
Deprecated. -
DirectoryImpl
Deprecated.
-
-
Method Details
-
updateDetailsFrom
Deprecated. -
updateAttributesFrom
Deprecated. -
getEncryptionType
Deprecated.- Specified by:
getEncryptionTypein interfaceDirectory
-
getAttributes
Deprecated.- Specified by:
getAttributesin interfaceDirectory
-
setAttributes
Deprecated.Sets the attributes of the directory.attributesmust be a mutableMap.- Parameters:
attributes- new attributes
-
getAllowedOperations
Deprecated.- Specified by:
getAllowedOperationsin interfaceDirectory
-
addAllowedOperation
Deprecated. -
setAllowedOperations
Deprecated. -
updateAllowedOperationsFrom
Deprecated. -
getLowerImplementationClass
Deprecated. -
getLowerName
Deprecated. -
getDescription
Deprecated.- Specified by:
getDescriptionin interfaceDirectory
-
getType
Deprecated. -
getImplementationClass
Deprecated.- Specified by:
getImplementationClassin interfaceDirectory
-
setDescription
Deprecated. -
setType
Deprecated. -
setImplementationClass
Deprecated. -
setName
Deprecated.- Overrides:
setNamein classInternalEntity
-
setActive
public void setActive(boolean active) Deprecated.- Overrides:
setActivein classInternalEntity
-
getValues
Deprecated.- Specified by:
getValuesin interfaceAttributes- Parameters:
name- attribute name.- Returns:
- a collection of the only attribtue value or
nullif the directory does not have the attribute.
-
getValue
Deprecated.- Specified by:
getValuein interfaceAttributes
-
getKeys
Deprecated.- Specified by:
getKeysin interfaceAttributes
-
isEmpty
public boolean isEmpty()Deprecated.- Specified by:
isEmptyin interfaceAttributes
-
setAttribute
Deprecated. -
removeAttribute
Deprecated. -
validate
public void validate()Deprecated. -
equals
Deprecated.- Specified by:
equalsin classInternalEntity
-
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein classInternalEntity
-
toString
Deprecated.
-
ImmutableDirectoryinstead. Since 3.6.0