|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AutoConfiguringAuthenticatorProviderPluginModule
Authentication provider modules implementing this interface will be exposed to the Create Application Link Wizard, and considered for initialisation during the link creation process.
Method Summary | |
---|---|
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)
|
Methods inherited from interface com.atlassian.applinks.spi.auth.AuthenticationProviderPluginModule |
---|
getAuthenticationProvider, getAuthenticationProviderClass, getConfigUrl |
Method Detail |
---|
boolean isApplicable(AuthenticationScenario authenticationScenario, ApplicationLink applicationLink)
authenticationScenario
- descriptive of the relationship between the local server and the target
ApplicationLink
applicationLink
- the ApplicationLink
that will be the target of this authentication provider
configuration
AuthenticationScenario
for
the specified ApplicationLink
void 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 ApplicationLink.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
AuthenticationConfigurationException
- 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 ApplicationLink.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.
disabled.
AuthenticationConfigurationException
- if a problem was encountered initialising the authentication
relationship between the local and remote application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |