public class DirectoryResource extends Object
| Constructor and Description |
|---|
DirectoryResource(DirectoryController directoryController) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
testAzureAdConnection(AzureAdConnectionTestEntity connectionTestData)
Tests connection to the specified Azure Active Directory.
|
javax.ws.rs.core.Response |
testAzureAdConnection(Long id,
AzureAdConnectionTestEntity connectionTestData)
Tests connection to the specified Azure Active Directory.
|
javax.ws.rs.core.Response |
testCrowdConnection(CrowdConnectionTestEntity connectionTestData)
Tests connection to the specified Remote Crowd directory
|
javax.ws.rs.core.Response |
testCrowdConnection(Long id,
CrowdConnectionTestEntity connectionTestData)
Tests connection to the specified Remote Crowd directory.
|
javax.ws.rs.core.Response |
testLdapConnection(LdapConnectionTestEntity connectionTestData)
Tests connection to the specified LDAP server.
|
javax.ws.rs.core.Response |
testLdapConnection(Long id,
LdapConnectionTestEntity connectionTestData)
Tests connection to the specified LDAP server.
|
javax.ws.rs.core.Response |
testSearch(LdapSearchTestEntity ldapConfiguration)
Tests search with the provided LDAP directory configuration
|
javax.ws.rs.core.Response |
testSearch(LdapSearchTestEntity ldapConfiguration,
Long id)
Tests search with the provided LDAP directory configuration.
|
public DirectoryResource(DirectoryController directoryController)
public javax.ws.rs.core.Response testLdapConnection(LdapConnectionTestEntity connectionTestData) throws OperationFailedException, DirectoryTestFailedException, ValidationFailedException
connectionTestData - An entity with data required to connect to the serverOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedExceptionpublic javax.ws.rs.core.Response testLdapConnection(Long id, LdapConnectionTestEntity connectionTestData) throws DirectoryNotFoundException, OperationFailedException, DirectoryTestFailedException, ValidationFailedException
id - the database id of the directory to testconnectionTestData - An entity with data required to connect to the serverDirectoryNotFoundExceptionOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedExceptionpublic javax.ws.rs.core.Response testCrowdConnection(CrowdConnectionTestEntity connectionTestData) throws OperationFailedException, DirectoryTestFailedException, ValidationFailedException
connectionTestData - An entity with data required to connect to the Remote Crowd directoryOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedExceptionpublic javax.ws.rs.core.Response testCrowdConnection(Long id, CrowdConnectionTestEntity connectionTestData) throws DirectoryNotFoundException, OperationFailedException, DirectoryTestFailedException, ValidationFailedException
id - The ID of the Crowd server which will have its settings changedconnectionTestData - An entity with data required to connect to the Remote Crowd directoryDirectoryNotFoundExceptionOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedExceptionpublic javax.ws.rs.core.Response testAzureAdConnection(AzureAdConnectionTestEntity connectionTestData) throws OperationFailedException, DirectoryTestFailedException, ValidationFailedException
connectionTestData - An entity with data required to connect to the Azure Active DirectoryOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedExceptionpublic javax.ws.rs.core.Response testAzureAdConnection(Long id, AzureAdConnectionTestEntity connectionTestData) throws OperationFailedException, DirectoryTestFailedException, DirectoryNotFoundException, ValidationFailedException
id - The database ID of the directory to testconnectionTestData - An entity with data required to connect to the Azure Active DirectoryOperationFailedExceptionDirectoryTestFailedExceptionDirectoryNotFoundExceptionValidationFailedExceptionpublic javax.ws.rs.core.Response testSearch(LdapSearchTestEntity ldapConfiguration) throws OperationFailedException, DirectoryTestFailedException, ValidationFailedException
ldapConfiguration - An entity containing directory parametersOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedExceptionpublic javax.ws.rs.core.Response testSearch(LdapSearchTestEntity ldapConfiguration, Long id) throws OperationFailedException, DirectoryNotFoundException, DirectoryTestFailedException, ValidationFailedException
ldapConfiguration - An entity containing directory parametersid - ID of the directory for which the settings will be testedOperationFailedExceptionDirectoryNotFoundExceptionDirectoryTestFailedExceptionValidationFailedExceptionCopyright © 2018 Atlassian. All rights reserved.