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 String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected 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 TypeMethodDescriptionboolean
canBypassRequest
(jakarta.servlet.ServletRequest request) boolean
doHandlePrompt
(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) void
invalidateSession
(jakarta.servlet.ServletRequest request) boolean
needResetLogin
(jakarta.servlet.ServletRequest request) void
onAuthenticatedSessionCreated
(jakarta.servlet.ServletRequest request, jakarta.servlet.http.HttpSession session, CachableUserIdentificationInfo cachebleUserInfo) void
jakarta.servlet.http.HttpSession
reinitSession
(jakarta.servlet.http.HttpServletRequest httpRequest) void
start
(ComponentContext context) Start the component.void
stop
(ComponentContext context) Stop the component.void
Methods 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, 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:
-
authenticators
-
sessionManagers
-
authChain
-
specificAuthChains
-
openUrls
-
startupURLs
-
-
Constructor Details
-
PluggableAuthenticationService
public PluggableAuthenticationService()
-
-
Method Details
-
start
Description copied from interface:Component
Start the component. This method is called after all the components were resolved and activated- Specified by:
start
in interfaceComponent
- Overrides:
start
in classDefaultComponent
-
stop
Description copied from interface:Component
Stop the component.- Specified by:
stop
in interfaceComponent
- Overrides:
stop
in classDefaultComponent
- Throws:
InterruptedException
-
getStartURLPatterns
-
getAuthChain
-
getAuthChain
-
doHandlePrompt
public boolean doHandlePrompt(jakarta.servlet.http.HttpServletRequest request) -
getSpecificAuthChainName
-
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
-