com.atlassian.applinks.host.spi
Class AbstractInternalHostApplication
java.lang.Object
com.atlassian.applinks.host.spi.AbstractInternalHostApplication
- All Implemented Interfaces:
- HostApplication, InternalHostApplication
public abstract class AbstractInternalHostApplication
- extends java.lang.Object
- implements InternalHostApplication
Inherit from this base class when you implement InternalHostApplication
.
This base class provides implementations for getSupportedOutboundAuthenticationTypes and getSupportedInboundAuthenticationTypes.
It queries the plugin system for enabled AuthenticationProviderPluginModule
to detect supported outbound
authentication types and for enabled SupportedInboundAuthenticationModuleDescriptor
to detect
inbound authentication types.
- Since:
- 3.0
Field Summary |
protected com.atlassian.plugin.PluginAccessor |
pluginAccessor
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pluginAccessor
protected final com.atlassian.plugin.PluginAccessor pluginAccessor
AbstractInternalHostApplication
protected AbstractInternalHostApplication(com.atlassian.plugin.PluginAccessor pluginAccessor)
getSupportedInboundAuthenticationTypes
public java.lang.Iterable<java.lang.Class<? extends AuthenticationProvider>> getSupportedInboundAuthenticationTypes()
- Specified by:
getSupportedInboundAuthenticationTypes
in interface InternalHostApplication
- Returns:
- an
Iterable
of AuthenticationProvider
classes enumerating the inbound
authentication methods supported by this application (used to authenticate requests made to this application
instance).
getSupportedOutboundAuthenticationTypes
public java.lang.Iterable<java.lang.Class<? extends AuthenticationProvider>> getSupportedOutboundAuthenticationTypes()
- Specified by:
getSupportedOutboundAuthenticationTypes
in interface InternalHostApplication
- Returns:
- an
Iterable
of AuthenticationProvider
classes enumerating the outbound
authentication methods supported by this application (used to authenticate requests made by this application
instance to remote applications).
Copyright © 2011 Atlassian. All Rights Reserved.