@Path(value="directory") @Consumes(value="application/json") @Produces(value="application/json") 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)
@POST @Path(value="testldap") public javax.ws.rs.core.Response testLdapConnection(LdapConnectionTestEntity connectionTestData) throws OperationFailedException, DirectoryTestFailedException, ValidationFailedException
connectionTestData - An entity with data required to connect to the serverOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedException@POST
@Path(value="testldap/{id}")
public javax.ws.rs.core.Response testLdapConnection(@PathParam(value="id")
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 serverDirectoryNotFoundExceptionOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedException@POST @Path(value="testcrowd") public javax.ws.rs.core.Response testCrowdConnection(CrowdConnectionTestEntity connectionTestData) throws OperationFailedException, DirectoryTestFailedException, ValidationFailedException
connectionTestData - An entity with data required to connect to the Remote Crowd directoryOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedException@POST
@Path(value="testcrowd/{id}")
public javax.ws.rs.core.Response testCrowdConnection(@PathParam(value="id")
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 directoryDirectoryNotFoundExceptionOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedException@POST @Path(value="testazuread") public javax.ws.rs.core.Response testAzureAdConnection(AzureAdConnectionTestEntity connectionTestData) throws OperationFailedException, DirectoryTestFailedException, ValidationFailedException
connectionTestData - An entity with data required to connect to the Azure Active DirectoryOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedException@POST
@Path(value="testazuread/{id}")
public javax.ws.rs.core.Response testAzureAdConnection(@PathParam(value="id")
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 DirectoryOperationFailedExceptionDirectoryTestFailedExceptionDirectoryNotFoundExceptionValidationFailedException@POST @Path(value="testsearch") public javax.ws.rs.core.Response testSearch(LdapSearchTestEntity ldapConfiguration) throws OperationFailedException, DirectoryTestFailedException, ValidationFailedException
ldapConfiguration - An entity containing directory parametersOperationFailedExceptionDirectoryTestFailedExceptionValidationFailedException@POST
@Path(value="testsearch/{id}")
public javax.ws.rs.core.Response testSearch(LdapSearchTestEntity ldapConfiguration,
@PathParam(value="id")
Long id)
throws OperationFailedException,
DirectoryNotFoundException,
DirectoryTestFailedException,
ValidationFailedException
ldapConfiguration - An entity containing directory parametersid - ID of the directory for which the settings will be testedOperationFailedExceptionDirectoryNotFoundExceptionDirectoryTestFailedExceptionValidationFailedExceptionCopyright © 2021 Atlassian. All rights reserved.