Class PluggableAuthenticationService
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService
- All Implemented Interfaces:
Adaptable
,Component
,Extensible
,TimestampedService
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate
(ComponentContext context) Activates the component.boolean
canBypassRequest
(javax.servlet.ServletRequest request) void
deactivate
(ComponentContext context) Deactivates the component.boolean
doHandlePrompt
(javax.servlet.http.HttpServletRequest request) getAuthChain
(javax.servlet.http.HttpServletRequest request) getBaseURL
(javax.servlet.ServletRequest request) getDescriptor
(String pluginName) getSpecificAuthChainName
(javax.servlet.http.HttpServletRequest request) 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) void
registerContribution
(Object contribution, String extensionPoint, ComponentInstance contributor) void
javax.servlet.http.HttpSession
reinitSession
(javax.servlet.http.HttpServletRequest httpRequest) void
unregisterContribution
(Object contribution, String extensionPoint, ComponentInstance contributor) void
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
addRuntimeMessage, addRuntimeMessage, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Component
getApplicationStartedOrder
-
Field Details
-
NAME
- See Also:
-
EP_AUTHENTICATOR
- See Also:
-
EP_SESSIONMANAGER
- See Also:
-
EP_CHAIN
- See Also:
-
EP_SPECIFIC_CHAINS
- See Also:
-
EP_STARTURL
- See Also:
-
EP_OPENURL
- See Also:
-
EP_LOGINSCREEN
- See Also:
-
-
Constructor Details
-
PluggableAuthenticationService
public PluggableAuthenticationService()
-
-
Method Details
-
activate
Description copied from interface:Component
Activates the component.This method is called by the runtime when a component is activated.
- Specified by:
activate
in interfaceComponent
- Overrides:
activate
in classDefaultComponent
- Parameters:
context
- the runtime context
-
deactivate
Description copied from interface:Component
Deactivates the component.This method is called by the runtime when a component is deactivated.
- Specified by:
deactivate
in interfaceComponent
- Overrides:
deactivate
in classDefaultComponent
- Parameters:
context
- the runtime context
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
registerContribution
in classDefaultComponent
-
unregisterContribution
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
unregisterContribution
in classDefaultComponent
-
getStartURLPatterns
-
getAuthChain
-
getAuthChain
-
doHandlePrompt
public boolean doHandlePrompt(javax.servlet.http.HttpServletRequest request) -
getSpecificAuthChainName
-
getPluginChain
-
getPlugin
-
getDescriptor
-
invalidateSession
public void invalidateSession(javax.servlet.ServletRequest request) -
reinitSession
public javax.servlet.http.HttpSession reinitSession(javax.servlet.http.HttpServletRequest httpRequest) -
canBypassRequest
public boolean canBypassRequest(javax.servlet.ServletRequest request) -
needResetLogin
public boolean needResetLogin(javax.servlet.ServletRequest request) -
getBaseURL
-
onAuthenticatedSessionCreated
public void onAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session, CachableUserIdentificationInfo cachebleUserInfo) -
getOpenUrls
-
getLoginScreenConfig
-
registerLoginScreenConfig
- Since:
- 10.10
-
unregisterLoginScreenConfig
- Since:
- 10.10
-