Package org.ametys.site
Class FrontBlockingCredentialProviderAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.core.authentication.AuthenticateAction
org.ametys.site.FrontAuthenticateAction
org.ametys.site.FrontBlockingCredentialProviderAction
- All Implemented Interfaces:
Initializable,Component,LogEnabled,Serviceable,ThreadSafe,Action
This action will authenticate upon a parametrized blocking credential provider
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.core.authentication.AuthenticateAction
AuthenticateAction.TOKEN_MODE -
Field Summary
Fields inherited from class org.ametys.site.FrontAuthenticateAction
_acceptedSiteUrlPatternsFields inherited from class org.ametys.core.authentication.AuthenticateAction
_acceptedUrlPatterns, _authenticateTokenManager, _currentUserProvider, _observationManager, _populationContextHelper, _userManager, _userPopulationDAO, HEADER_TOKEN, PARAMETERS_PARAMETER_TOKEN, PARAMETERS_PARAMETER_TOKEN_CONTEXT, REQUEST_ATTRIBUTE_AUTHENTICATED, REQUEST_ATTRIBUTE_AVAILABLE_USER_POPULATIONS_LIST, REQUEST_ATTRIBUTE_CONTEXTS, REQUEST_ATTRIBUTE_CREDENTIAL_PROVIDER_INDEX, REQUEST_ATTRIBUTE_CREDENTIAL_PROVIDER_LIST, REQUEST_ATTRIBUTE_GRANTED, REQUEST_ATTRIBUTE_INTERNAL_ALLOWED, REQUEST_ATTRIBUTE_INVALID_POPULATION, REQUEST_ATTRIBUTE_LOGIN_URL, REQUEST_ATTRIBUTE_SHOULD_DISPLAY_USER_POPULATIONS_LIST, REQUEST_ATTRIBUTE_USER_POPULATION_ID, REQUEST_PARAMETER_CREDENTIALPROVIDER_INDEX, REQUEST_PARAMETER_POPULATION_NAME, REQUEST_PARAMETER_TOKEN, REQUEST_PARAMETER_TOKEN_CONTEXT, SESSION_CONNECTING_CREDENTIALPROVIDER_INDEX, SESSION_CONNECTING_CREDENTIALPROVIDER_INDEX_LASTBLOCKINGKNOWN, SESSION_CONNECTING_CREDENTIALPROVIDER_MODE, SESSION_CONNECTING_USERPOPULATION_ID, SESSION_CREDENTIALPROVIDER, SESSION_CREDENTIALPROVIDER_MODE, SESSION_USERIDENTITY, SITEMAP_PARAMETER_TOKEN_MODEFields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_getContexts(Request request, Parameters parameters) Get the authentication contextact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) Methods inherited from class org.ametys.site.FrontAuthenticateAction
_acceptedUrl, _getCredentialProviderFromSession, _getCredentialProviderModeFromSession, _getUserIdentityFromSession, _handleLogout, _handleWeakPassord, _setUserIdentityInSession, _validateToken, getCredentialProviderFromSession, getCredentialProviderFromSession, getCredentialProviderModeFromSession, getCredentialProviderModeFromSession, getLoginURL, getLogoutURL, getUserIdentityFromSession, getUserIdentityFromSession, setUserIdentityInSessionMethods inherited from class org.ametys.core.authentication.AuthenticateAction
_doProcess, _getAvailableUserPopulationsIds, _getChosenUserPopulationId, _getCurrentCredentialProviderIndex, _getCurrentCredentialProviderIndexFromParameter, _getTokenFromRequest, _getUserIdentity, _handleAuthenticationToken, _hasCredentialProviders, _internalRequest, _isCurrentCredentialProviderInBlockingMode, _logLoginEvent, _logLogoutEvent, _preFlightCheck, _prepareUserPopulationsAndCredentialProviders, _process, _resetConnectingStateToSession, _saveConnectingStateToSession, _validateCurrentlyConnectedUser, _validateCurrentlyConnectedUserIsInAuthorizedPopulation, getLoginURLParameters, initialize, renewSession, skipCurrentCredentialProviderMethods inherited from class org.apache.cocoon.acting.ServiceableAction
serviceMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
FrontBlockingCredentialProviderAction
-
-
Method Details
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Specified by:
actin interfaceAction- Overrides:
actin classAuthenticateAction- Throws:
Exception
-
_getContexts
Description copied from class:AuthenticateActionGet the authentication context- Overrides:
_getContextsin classFrontAuthenticateAction- Parameters:
request- The requestparameters- The action parameters- Returns:
- The context
-