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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(ComponentContext context) Activates the component.booleancanBypassRequest(javax.servlet.ServletRequest request) voiddeactivate(ComponentContext context) Deactivates the component.booleandoHandlePrompt(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) voidinvalidateSession(javax.servlet.ServletRequest request) booleanneedResetLogin(javax.servlet.ServletRequest request) voidonAuthenticatedSessionCreated(javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session, CachableUserIdentificationInfo cachebleUserInfo) voidregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) voidjavax.servlet.http.HttpSessionreinitSession(javax.servlet.http.HttpServletRequest httpRequest) voidstart(ComponentContext context) Start the component.voidstop(ComponentContext context) Stop the component.voidunregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) voidMethods inherited from class org.nuxeo.runtime.model.DefaultComponent
addRuntimeMessage, addRuntimeMessage, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, unregister, unregisterExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ComponentActivates the component.This method is called by the runtime when a component is activated.
- Specified by:
activatein interfaceComponent- Overrides:
activatein classDefaultComponent- Parameters:
context- the runtime context
-
start
Description copied from interface:ComponentStart the component. This method is called after all the components were resolved and activated- Specified by:
startin interfaceComponent- Overrides:
startin classDefaultComponent
-
stop
Description copied from interface:ComponentStop the component.- Specified by:
stopin interfaceComponent- Overrides:
stopin classDefaultComponent- Throws:
InterruptedException
-
deactivate
Description copied from interface:ComponentDeactivates the component.This method is called by the runtime when a component is deactivated.
- Specified by:
deactivatein interfaceComponent- Overrides:
deactivatein classDefaultComponent- Parameters:
context- the runtime context
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
registerContributionin classDefaultComponent
-
unregisterContribution
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
unregisterContributionin 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
-