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 TypeFieldDescriptionprotected Map<String, NuxeoAuthenticationPlugin> static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected List<OpenUrlDescriptor> protected Map<String, NuxeoAuthenticationSessionManager> protected Map<String, SpecificAuthChainDescriptor> Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBypassRequest(jakarta.servlet.ServletRequest request) booleandoHandlePrompt(jakarta.servlet.http.HttpServletRequest request) getAuthChain(jakarta.servlet.http.HttpServletRequest request) getBaseURL(jakarta.servlet.ServletRequest request) getDescriptor(String pluginName) getSpecificAuthChainName(jakarta.servlet.http.HttpServletRequest request) voidinvalidateSession(jakarta.servlet.ServletRequest request) booleanneedResetLogin(jakarta.servlet.ServletRequest request) voidonAuthenticatedSessionCreated(jakarta.servlet.ServletRequest request, jakarta.servlet.http.HttpSession session, CachableUserIdentificationInfo cachebleUserInfo) voidjakarta.servlet.http.HttpSessionreinitSession(jakarta.servlet.http.HttpServletRequest httpRequest) voidstart(ComponentContext context) Start the component.voidstop(ComponentContext context) Stop the component.voidMethods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, unregister, unregisterContribution, 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:
-
authenticators
-
sessionManagers
-
authChain
-
specificAuthChains
-
openUrls
-
startupURLs
-
-
Constructor Details
-
PluggableAuthenticationService
public PluggableAuthenticationService()
-
-
Method Details
-
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
-
getStartURLPatterns
-
getAuthChain
-
getAuthChain
-
doHandlePrompt
public boolean doHandlePrompt(jakarta.servlet.http.HttpServletRequest request) -
getSpecificAuthChainName
-
getAuthenticatorPlugins
- Returns:
- all plugins contributed to the authenticators extension point
- Since:
- 2025.7
-
getPluginChain
-
getPlugin
-
getDescriptor
-
invalidateSession
public void invalidateSession(jakarta.servlet.ServletRequest request) -
reinitSession
public jakarta.servlet.http.HttpSession reinitSession(jakarta.servlet.http.HttpServletRequest httpRequest) -
canBypassRequest
public boolean canBypassRequest(jakarta.servlet.ServletRequest request) -
needResetLogin
public boolean needResetLogin(jakarta.servlet.ServletRequest request) -
getBaseURL
-
onAuthenticatedSessionCreated
public void onAuthenticatedSessionCreated(jakarta.servlet.ServletRequest request, jakarta.servlet.http.HttpSession session, CachableUserIdentificationInfo cachebleUserInfo) -
getOpenUrls
-
getLoginScreenConfig
-
registerLoginScreenConfig
- Since:
- 10.10
-
unregisterLoginScreenConfig
- Since:
- 10.10
-