Class RestCrowdHttpAuthenticationFactory
java.lang.Object
com.atlassian.crowd.integration.rest.service.factory.RestCrowdHttpAuthenticationFactory
This factory can be used to access a lazily instantiated singleton instance
of CrowdHttpAuthenticator.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CrowdHttpAuthenticatorReturns a singleton instance of CrowdHttpAuthenticator.newInstance(CrowdClient crowdClient, ClientProperties clientProperties, CrowdHttpTokenHelper tokenHelper) To be used with IoC container (like Spring) to manage returned implementation as a singleton.
-
Method Details
-
getAuthenticator
Returns a singleton instance of CrowdHttpAuthenticator.- Returns:
- singleton instance of CrowdHttpAuthenticator
-
newInstance
public CrowdHttpAuthenticator newInstance(CrowdClient crowdClient, ClientProperties clientProperties, CrowdHttpTokenHelper tokenHelper) To be used with IoC container (like Spring) to manage returned implementation as a singleton.- Parameters:
crowdClient- instance ofCrowdClientclientProperties- instance ofClientPropertiestokenHelper- instance ofCrowdHttpTokenHelper- Returns:
- new instance of CrowdHttpAuthenticator
- Since:
- 6.0.11
-