Package com.atlassian.bamboo.crowd
Class DelegatingCrowdDirectoryService
java.lang.Object
com.atlassian.bamboo.crowd.DelegatingCrowdDirectoryService
- All Implemented Interfaces:
com.atlassian.crowd.embedded.api.CrowdDirectoryService
- Direct Known Subclasses:
BambooCrowdDirectoryService
public class DelegatingCrowdDirectoryService
extends Object
implements com.atlassian.crowd.embedded.api.CrowdDirectoryService
Delegates all calls
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.atlassian.crowd.embedded.api.CrowdDirectoryService
-
Constructor Summary
ConstructorDescriptionDelegatingCrowdDirectoryService
(com.atlassian.crowd.embedded.api.CrowdDirectoryService delegate) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.crowd.embedded.api.Directory
addDirectory
(com.atlassian.crowd.embedded.api.Directory directory) List<com.atlassian.crowd.embedded.api.Directory>
com.atlassian.crowd.embedded.api.Directory
findDirectoryById
(long directoryId) com.atlassian.crowd.embedded.api.Directory
com.atlassian.crowd.embedded.api.DirectorySynchronisationInformation
getDirectorySynchronisationInformation
(long directoryId) getPasswordComplexityMessage
(long l) com.atlassian.crowd.embedded.api.PasswordPolicyConfiguration
getPasswordPolicyConfiguration
(long l) com.atlassian.crowd.embedded.api.ConnectionPoolProperties
com.atlassian.crowd.embedded.api.ConnectionPoolProperties
void
boolean
isDirectorySynchronisable
(long directoryId) boolean
isDirectorySynchronising
(long directoryId) boolean
boolean
removeDirectory
(long directoryId) void
setConnectionPoolProperties
(com.atlassian.crowd.embedded.api.ConnectionPoolProperties poolProperties) void
setDirectoryPosition
(long directoryId, int position) void
setMembershipAggregationEnabled
(boolean enabled) void
setPasswordPolicyConfiguration
(long l, com.atlassian.crowd.embedded.api.PasswordPolicyConfiguration passwordPolicyConfiguration, String s) boolean
supportsNestedGroups
(long directoryId) void
synchroniseDirectory
(long directoryId) void
synchroniseDirectory
(long directoryId, boolean runInBackground) void
testConnection
(com.atlassian.crowd.embedded.api.Directory directory) com.atlassian.crowd.embedded.api.Directory
updateDirectory
(com.atlassian.crowd.embedded.api.Directory directory) List<com.atlassian.crowd.validator.ValidationError>
validateDirectoryConfiguration
(com.atlassian.crowd.embedded.api.Directory directory, EnumSet<com.atlassian.crowd.validator.DirectoryValidationContext> enumSet)
-
Field Details
-
delegate
protected final com.atlassian.crowd.embedded.api.CrowdDirectoryService delegate
-
-
Constructor Details
-
DelegatingCrowdDirectoryService
public DelegatingCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService delegate)
-
-
Method Details
-
addDirectory
public com.atlassian.crowd.embedded.api.Directory addDirectory(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
addDirectory
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
testConnection
public void testConnection(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
testConnection
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
findAllDirectories
- Specified by:
findAllDirectories
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
findDirectoryById
public com.atlassian.crowd.embedded.api.Directory findDirectoryById(long directoryId) - Specified by:
findDirectoryById
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
updateDirectory
public com.atlassian.crowd.embedded.api.Directory updateDirectory(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
updateDirectory
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
setDirectoryPosition
public void setDirectoryPosition(long directoryId, int position) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
setDirectoryPosition
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
removeDirectory
public boolean removeDirectory(long directoryId) throws com.atlassian.crowd.exception.DirectoryCurrentlySynchronisingException, com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
removeDirectory
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.DirectoryCurrentlySynchronisingException
com.atlassian.crowd.exception.runtime.OperationFailedException
-
supportsNestedGroups
public boolean supportsNestedGroups(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
supportsNestedGroups
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
isDirectorySynchronisable
public boolean isDirectorySynchronisable(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
isDirectorySynchronisable
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
synchroniseDirectory
public void synchroniseDirectory(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
synchroniseDirectory
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
synchroniseDirectory
public void synchroniseDirectory(long directoryId, boolean runInBackground) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
synchroniseDirectory
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
isDirectorySynchronising
public boolean isDirectorySynchronising(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
isDirectorySynchronising
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
getDirectorySynchronisationInformation
public com.atlassian.crowd.embedded.api.DirectorySynchronisationInformation getDirectorySynchronisationInformation(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException - Specified by:
getDirectorySynchronisationInformation
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.runtime.OperationFailedException
-
setConnectionPoolProperties
public void setConnectionPoolProperties(com.atlassian.crowd.embedded.api.ConnectionPoolProperties poolProperties) - Specified by:
setConnectionPoolProperties
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
getStoredConnectionPoolProperties
public com.atlassian.crowd.embedded.api.ConnectionPoolProperties getStoredConnectionPoolProperties()- Specified by:
getStoredConnectionPoolProperties
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
getSystemConnectionPoolProperties
public com.atlassian.crowd.embedded.api.ConnectionPoolProperties getSystemConnectionPoolProperties()- Specified by:
getSystemConnectionPoolProperties
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
isMembershipAggregationEnabled
public boolean isMembershipAggregationEnabled()- Specified by:
isMembershipAggregationEnabled
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
setMembershipAggregationEnabled
public void setMembershipAggregationEnabled(boolean enabled) - Specified by:
setMembershipAggregationEnabled
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
setPasswordPolicyConfiguration
public void setPasswordPolicyConfiguration(long l, com.atlassian.crowd.embedded.api.PasswordPolicyConfiguration passwordPolicyConfiguration, String s) throws com.atlassian.crowd.exception.OperationNotSupportedException, com.atlassian.crowd.exception.DirectoryNotFoundException - Specified by:
setPasswordPolicyConfiguration
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.OperationNotSupportedException
com.atlassian.crowd.exception.DirectoryNotFoundException
-
getPasswordPolicyConfiguration
public com.atlassian.crowd.embedded.api.PasswordPolicyConfiguration getPasswordPolicyConfiguration(long l) throws com.atlassian.crowd.exception.OperationNotSupportedException, com.atlassian.crowd.exception.DirectoryNotFoundException - Specified by:
getPasswordPolicyConfiguration
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.OperationNotSupportedException
com.atlassian.crowd.exception.DirectoryNotFoundException
-
getPasswordComplexityMessage
public String getPasswordComplexityMessage(long l) throws com.atlassian.crowd.exception.OperationNotSupportedException, com.atlassian.crowd.exception.DirectoryNotFoundException - Specified by:
getPasswordComplexityMessage
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
- Throws:
com.atlassian.crowd.exception.OperationNotSupportedException
com.atlassian.crowd.exception.DirectoryNotFoundException
-
initJndiLdapConnectionPool
public void initJndiLdapConnectionPool()- Specified by:
initJndiLdapConnectionPool
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
validateDirectoryConfiguration
public List<com.atlassian.crowd.validator.ValidationError> validateDirectoryConfiguration(com.atlassian.crowd.embedded.api.Directory directory, EnumSet<com.atlassian.crowd.validator.DirectoryValidationContext> enumSet) - Specified by:
validateDirectoryConfiguration
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-
findDirectoryByName
- Specified by:
findDirectoryByName
in interfacecom.atlassian.crowd.embedded.api.CrowdDirectoryService
-