com.atlassian.crowd.service.factory
Interface CrowdClientFactory


public interface CrowdClientFactory

Class will create new instances of a CrowdClient.


Method Summary
 CrowdClient newInstance(ClientProperties clientProperties)
          Constructs a new Crowd Client instance from the client properties.
 CrowdClient newInstance(java.lang.String url, java.lang.String applicationName, java.lang.String applicationPassword)
          Construct a new Crowd Client instance.
 

Method Detail

newInstance

CrowdClient newInstance(java.lang.String url,
                        java.lang.String applicationName,
                        java.lang.String applicationPassword)
Construct a new Crowd Client instance.

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

CrowdClient newInstance(ClientProperties clientProperties)
Constructs a new Crowd Client instance from the client properties.

Parameters:
clientProperties - all the properties needed to initialise the client.
Returns:
new instance of CrowdClient


Copyright © 2012 Atlassian. All Rights Reserved.