Package org.ametys.plugins.site.token
Class GetTokenExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<GetToken>
org.ametys.plugins.site.token.GetTokenExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<GetToken>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
Extension point for components extracting token from an incoming request.
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon Role
-
-
Constructor Details
-
GetTokenExtensionPoint
public GetTokenExtensionPoint()
-
-
Method Details
-
getToken
Returns the token from the request.- Parameters:
request
- the incoming request.- Returns:
- the extracted token, if any.
-
getTokenContext
Returns the token context from the request.- Parameters:
request
- the incoming request.- Returns:
- the extracted token context, if any.
-