public interface AutoConfiguringAuthenticatorProviderPluginModule extends AuthenticationProviderPluginModule
TO_PROVIDER_CLASS| Modifier and Type | Method and Description |
|---|---|
void |
disable(com.atlassian.sal.api.net.RequestFactory authenticatedRequestFactory,
ApplicationLink applicationLink)
Disables the reciprocal authentication relationship with the target
ApplicationLink. |
void |
enable(com.atlassian.sal.api.net.RequestFactory authenticatedRequestFactory,
ApplicationLink applicationLink)
Initialises a working reciprocal authentication relationship with the target
ApplicationLink using this
authentication provider. |
boolean |
isApplicable(AuthenticationScenario authenticationScenario,
ApplicationLink applicationLink) |
getAuthenticationProvider, getAuthenticationProviderClass, getConfigUrlboolean isApplicable(AuthenticationScenario authenticationScenario, ApplicationLink applicationLink)
authenticationScenario - descriptive of the relationship between the local server and the target
ApplicationLinkapplicationLink - the ApplicationLink that will be the target of this authentication provider
configurationAuthenticationScenario for
the specified ApplicationLinkvoid enable(com.atlassian.sal.api.net.RequestFactory authenticatedRequestFactory,
ApplicationLink applicationLink)
throws AuthenticationConfigurationException
ApplicationLink using this
authentication provider.authenticatedRequestFactory - a RequestFactory initialised with the base url of the target
application (see ReadOnlyApplicationLink.createAuthenticatedRequestFactory() for details) and authenticated with
an administrators credentials in the remote application (using HTTP Basic authentication).applicationLink - the ApplicationLink that will be the target of this authentication provider
configurationAuthenticationConfigurationException - if a problem was encountered initialising the authentication
relationship between the local and remote applicationvoid disable(com.atlassian.sal.api.net.RequestFactory authenticatedRequestFactory,
ApplicationLink applicationLink)
throws AuthenticationConfigurationException
ApplicationLink.authenticatedRequestFactory - a RequestFactory initialised with the base url of the target
application (see ReadOnlyApplicationLink.createAuthenticatedRequestFactory() for details) and authenticated with
an administrators credentials in the remote application (using HTTP Basic authentication).applicationLink - the ApplicationLink that will be the target of this authentication provider
configuration change.AuthenticationConfigurationException - if a problem was encountered initialising the authentication
relationship between the local and remote applicationCopyright © 2018 Atlassian. All rights reserved.