com.atlassian.crowd.integration.rest.service.factory
Class RestCrowdClientFactory
java.lang.Object
com.atlassian.crowd.integration.rest.service.factory.RestCrowdClientFactory
- All Implemented Interfaces:
- CrowdClientFactory
public class RestCrowdClientFactory
- extends Object
- implements CrowdClientFactory
Factory class for creating a new instance of CrowdClient using REST.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestCrowdClientFactory
public RestCrowdClientFactory()
newInstance
public CrowdClient newInstance(String url,
String applicationName,
String applicationPassword)
- Description copied from interface:
CrowdClientFactory
- Construct a new Crowd Client instance.
- Specified by:
newInstance
in interface CrowdClientFactory
- Parameters:
url
- URL of the remote Crowd server.applicationName
- The application name of the connecting application.applicationPassword
- The password of the connecting application.
- Returns:
- new instance of CrowdClient
newInstance
public CrowdClient newInstance(ClientProperties clientProperties)
- Description copied from interface:
CrowdClientFactory
- Constructs a new Crowd Client instance from the client properties.
- Specified by:
newInstance
in interface CrowdClientFactory
- Parameters:
clientProperties
- all the properties needed to initialise the client.
- Returns:
- new instance of CrowdClient
Copyright © 2013 Atlassian. All Rights Reserved.