public class StubApplicationManager extends Object implements com.atlassian.crowd.manager.application.ApplicationManager
UserEntityExpander
and
GroupEntityExpander
to work.Constructor and Description |
---|
StubApplicationManager() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.crowd.model.application.Application |
add(com.atlassian.crowd.model.application.Application application) |
void |
addDirectoryMapping(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.Directory directory,
boolean allowAllToAuthenticate,
com.atlassian.crowd.embedded.api.OperationType... operationTypes) |
void |
addGroupMapping(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.Directory directory,
String groupName) |
void |
addRemoteAddress(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.model.application.RemoteAddress remoteAddress) |
boolean |
authenticate(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.PasswordCredential testCredential) |
List<com.atlassian.crowd.model.application.Application> |
findAll() |
com.atlassian.crowd.model.application.Application |
findById(long id) |
com.atlassian.crowd.model.application.Application |
findByName(String name) |
void |
remove(com.atlassian.crowd.model.application.Application application) |
void |
removeDirectoryFromApplication(com.atlassian.crowd.embedded.api.Directory directory,
com.atlassian.crowd.model.application.Application application) |
void |
removeGroupMapping(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.Directory directory,
String groupName) |
void |
removeRemoteAddress(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.model.application.RemoteAddress remoteAddress) |
List<com.atlassian.crowd.model.application.Application> |
search(com.atlassian.crowd.search.query.entity.EntityQuery query) |
com.atlassian.crowd.model.application.Application |
update(com.atlassian.crowd.model.application.Application application) |
void |
updateCredential(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.PasswordCredential passwordCredential) |
void |
updateDirectoryMapping(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.Directory directory,
boolean allowAllToAuthenticate) |
void |
updateDirectoryMapping(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.Directory directory,
boolean allowAllToAuthenticate,
Set<com.atlassian.crowd.embedded.api.OperationType> operationTypes) |
void |
updateDirectoryMapping(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.Directory directory,
int position) |
public com.atlassian.crowd.model.application.Application add(com.atlassian.crowd.model.application.Application application) throws com.atlassian.crowd.exception.InvalidCredentialException
add
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.InvalidCredentialException
public com.atlassian.crowd.model.application.Application findById(long id) throws com.atlassian.crowd.exception.ApplicationNotFoundException
findById
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
public com.atlassian.crowd.model.application.Application findByName(String name) throws com.atlassian.crowd.exception.ApplicationNotFoundException
findByName
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
public void remove(com.atlassian.crowd.model.application.Application application) throws com.atlassian.crowd.manager.application.ApplicationManagerException
remove
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.manager.application.ApplicationManagerException
public void removeDirectoryFromApplication(com.atlassian.crowd.embedded.api.Directory directory, com.atlassian.crowd.model.application.Application application) throws com.atlassian.crowd.manager.application.ApplicationManagerException
removeDirectoryFromApplication
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.manager.application.ApplicationManagerException
public void addDirectoryMapping(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.Directory directory, boolean allowAllToAuthenticate, com.atlassian.crowd.embedded.api.OperationType... operationTypes) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException
addDirectoryMapping
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundException
public void updateDirectoryMapping(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.Directory directory, int position) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundException
public void updateDirectoryMapping(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.Directory directory, boolean allowAllToAuthenticate) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundException
public void updateDirectoryMapping(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.Directory directory, boolean allowAllToAuthenticate, Set<com.atlassian.crowd.embedded.api.OperationType> operationTypes) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundException
public void addRemoteAddress(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.model.application.RemoteAddress remoteAddress) throws com.atlassian.crowd.exception.ApplicationNotFoundException
addRemoteAddress
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
public void removeRemoteAddress(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.model.application.RemoteAddress remoteAddress) throws com.atlassian.crowd.exception.ApplicationNotFoundException
removeRemoteAddress
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
public void addGroupMapping(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.Directory directory, String groupName) throws com.atlassian.crowd.exception.ApplicationNotFoundException
addGroupMapping
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
public void removeGroupMapping(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.Directory directory, String groupName) throws com.atlassian.crowd.exception.ApplicationNotFoundException
removeGroupMapping
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
public com.atlassian.crowd.model.application.Application update(com.atlassian.crowd.model.application.Application application) throws com.atlassian.crowd.manager.application.ApplicationManagerException, com.atlassian.crowd.exception.ApplicationNotFoundException
update
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.manager.application.ApplicationManagerException
com.atlassian.crowd.exception.ApplicationNotFoundException
public void updateCredential(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.PasswordCredential passwordCredential) throws com.atlassian.crowd.manager.application.ApplicationManagerException, com.atlassian.crowd.exception.ApplicationNotFoundException
updateCredential
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.manager.application.ApplicationManagerException
com.atlassian.crowd.exception.ApplicationNotFoundException
public boolean authenticate(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.PasswordCredential testCredential) throws com.atlassian.crowd.exception.ApplicationNotFoundException
authenticate
in interface com.atlassian.crowd.manager.application.ApplicationManager
com.atlassian.crowd.exception.ApplicationNotFoundException
public List<com.atlassian.crowd.model.application.Application> search(com.atlassian.crowd.search.query.entity.EntityQuery query)
search
in interface com.atlassian.crowd.manager.application.ApplicationManager
public List<com.atlassian.crowd.model.application.Application> findAll()
findAll
in interface com.atlassian.crowd.manager.application.ApplicationManager
Copyright © 2003–2016 Atlassian. All rights reserved.