public class PluggableAuthenticationService extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static String |
EP_AUTHENTICATOR |
static String |
EP_CBFACTORY |
static String |
EP_CHAIN |
static String |
EP_LOGINSCREEN |
static String |
EP_OPENURL |
static String |
EP_PREFILTER |
static String |
EP_PROPAGATOR |
static String |
EP_SESSIONMANAGER |
static String |
EP_SPECIFIC_CHAINS |
static String |
EP_STARTURL |
static String |
NAME |
lastModified
Constructor and Description |
---|
PluggableAuthenticationService() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
boolean |
canBypassRequest(javax.servlet.ServletRequest request) |
void |
deactivate(ComponentContext context)
Deactivates the component.
|
<T> T |
getAdapter(Class<T> adapter)
Returns an object which is an instance of the given class associated with this object.
|
List<String> |
getAuthChain() |
List<String> |
getAuthChain(javax.servlet.http.HttpServletRequest request) |
String |
getBaseURL(javax.servlet.ServletRequest request) |
UserIdentificationInfoCallbackHandler |
getCallbackHandler(UserIdentificationInfo userIdent) |
AuthenticationPluginDescriptor |
getDescriptor(String pluginName) |
LoginScreenConfig |
getLoginScreenConfig() |
List<OpenUrlDescriptor> |
getOpenUrls() |
NuxeoAuthenticationPlugin |
getPlugin(String pluginName) |
List<NuxeoAuthenticationPlugin> |
getPluginChain() |
List<NuxeoAuthPreFilter> |
getPreFilters() |
String |
getSpecificAuthChainName(javax.servlet.http.HttpServletRequest request) |
List<String> |
getStartURLPatterns() |
void |
initPreFilters() |
void |
invalidateSession(javax.servlet.ServletRequest request) |
boolean |
needResetLogin(javax.servlet.ServletRequest request) |
void |
onAuthenticatedSessionCreated(javax.servlet.ServletRequest request,
javax.servlet.http.HttpSession session,
CachableUserIdentificationInfo cachebleUserInfo) |
NuxeoAuthenticationPropagator.CleanupCallback |
propagateUserIdentificationInformation(CachableUserIdentificationInfo cachableUserIdent) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
javax.servlet.http.HttpSession |
reinitSession(javax.servlet.http.HttpServletRequest httpRequest) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
applicationStarted, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
public static final String NAME
public static final String EP_AUTHENTICATOR
public static final String EP_SESSIONMANAGER
public static final String EP_CHAIN
public static final String EP_SPECIFIC_CHAINS
public static final String EP_PROPAGATOR
public static final String EP_CBFACTORY
public static final String EP_STARTURL
public static final String EP_OPENURL
public static final String EP_PREFILTER
public static final String EP_LOGINSCREEN
public PluggableAuthenticationService()
public void activate(ComponentContext context)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextpublic void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public List<String> getStartURLPatterns()
public List<String> getAuthChain()
public List<String> getAuthChain(javax.servlet.http.HttpServletRequest request)
public String getSpecificAuthChainName(javax.servlet.http.HttpServletRequest request)
public UserIdentificationInfoCallbackHandler getCallbackHandler(UserIdentificationInfo userIdent)
public NuxeoAuthenticationPropagator.CleanupCallback propagateUserIdentificationInformation(CachableUserIdentificationInfo cachableUserIdent)
public List<NuxeoAuthenticationPlugin> getPluginChain()
public NuxeoAuthenticationPlugin getPlugin(String pluginName)
public AuthenticationPluginDescriptor getDescriptor(String pluginName)
public void invalidateSession(javax.servlet.ServletRequest request)
public javax.servlet.http.HttpSession reinitSession(javax.servlet.http.HttpServletRequest httpRequest)
public boolean canBypassRequest(javax.servlet.ServletRequest request)
public boolean needResetLogin(javax.servlet.ServletRequest request)
public String getBaseURL(javax.servlet.ServletRequest request)
public void onAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session, CachableUserIdentificationInfo cachebleUserInfo)
public List<OpenUrlDescriptor> getOpenUrls()
public void initPreFilters()
public List<NuxeoAuthPreFilter> getPreFilters()
public <T> T getAdapter(Class<T> adapter)
Adaptable
null
if no such object can be found.getAdapter
in interface Adaptable
getAdapter
in class DefaultComponent
adapter
- the adapter class to look upnull
if this object does not have an adapter for
the given classpublic LoginScreenConfig getLoginScreenConfig()
Copyright © 2015 Nuxeo SA. All rights reserved.