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 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 interface com.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 interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
      Throws:
      com.atlassian.crowd.exception.runtime.OperationFailedException
    • findAllDirectories

      public List<com.atlassian.crowd.embedded.api.Directory> findAllDirectories()
      Specified by:
      findAllDirectories in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
    • findDirectoryById

      public com.atlassian.crowd.embedded.api.Directory findDirectoryById(long directoryId)
      Specified by:
      findDirectoryById in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
    • getStoredConnectionPoolProperties

      public com.atlassian.crowd.embedded.api.ConnectionPoolProperties getStoredConnectionPoolProperties()
      Specified by:
      getStoredConnectionPoolProperties in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
    • getSystemConnectionPoolProperties

      public com.atlassian.crowd.embedded.api.ConnectionPoolProperties getSystemConnectionPoolProperties()
      Specified by:
      getSystemConnectionPoolProperties in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
    • isMembershipAggregationEnabled

      public boolean isMembershipAggregationEnabled()
      Specified by:
      isMembershipAggregationEnabled in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
    • setMembershipAggregationEnabled

      public void setMembershipAggregationEnabled(boolean enabled)
      Specified by:
      setMembershipAggregationEnabled in interface com.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 interface com.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 interface com.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 interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
      Throws:
      com.atlassian.crowd.exception.OperationNotSupportedException
      com.atlassian.crowd.exception.DirectoryNotFoundException
    • initJndiLdapConnectionPool

      public void initJndiLdapConnectionPool()
      Specified by:
      initJndiLdapConnectionPool in interface com.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 interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
    • findDirectoryByName

      public com.atlassian.crowd.embedded.api.Directory findDirectoryByName(String s)
      Specified by:
      findDirectoryByName in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService