@Named public class TestkitApplicationResource extends Object
Constructor and Description |
---|
TestkitApplicationResource(ApplicationManager applicationManager,
DirectoryManager directoryManager,
DefaultGroupMembershipService defaultGroupMembershipService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addDefaultGroup(Long applicationId,
DefaultGroupMembershipConfigurationEntry entry) |
javax.ws.rs.core.Response |
createApplication(ApplicationImpl application,
List<Long> directoryIds,
List<Boolean> allowAll) |
javax.ws.rs.core.Response |
deleteApplication(long applicationId) |
javax.ws.rs.core.Response |
deleteDefaultGroups(Long applicationId,
String directoryId) |
javax.ws.rs.core.Response |
findDefaultGroups(Long applicationId,
String directoryId) |
javax.ws.rs.core.Response |
setApplicationLink(Long applicationId,
String applicationLinkId) |
javax.ws.rs.core.Response |
updateApplicationAllowedIps(Long applicationId,
List<String> allowedIps) |
javax.ws.rs.core.Response |
updateApplicationMappings(Long applicationId,
Long directoryId,
boolean allowAllToLogin) |
@Inject public TestkitApplicationResource(ApplicationManager applicationManager, DirectoryManager directoryManager, DefaultGroupMembershipService defaultGroupMembershipService)
public javax.ws.rs.core.Response createApplication(ApplicationImpl application, List<Long> directoryIds, List<Boolean> allowAll) throws Exception
Exception
public javax.ws.rs.core.Response updateApplicationMappings(Long applicationId, Long directoryId, boolean allowAllToLogin) throws ApplicationNotFoundException, DirectoryNotFoundException, IOException
public javax.ws.rs.core.Response updateApplicationAllowedIps(Long applicationId, List<String> allowedIps) throws ApplicationNotFoundException, IOException, ApplicationManagerException
public javax.ws.rs.core.Response deleteApplication(long applicationId) throws Exception
Exception
public javax.ws.rs.core.Response addDefaultGroup(Long applicationId, DefaultGroupMembershipConfigurationEntry entry) throws ApplicationNotFoundException, OperationFailedException
public javax.ws.rs.core.Response setApplicationLink(Long applicationId, String applicationLinkId) throws ApplicationNotFoundException, ApplicationManagerException
public javax.ws.rs.core.Response findDefaultGroups(Long applicationId, String directoryId) throws ApplicationNotFoundException, OperationFailedException
public javax.ws.rs.core.Response deleteDefaultGroups(Long applicationId, String directoryId) throws ApplicationNotFoundException, OperationFailedException
Copyright © 2020 Atlassian. All rights reserved.