public class ExtractUsernamePasswordFromFormRequest extends AbstractExtractionAction
UsernamePasswordContext, and attaches it to the AuthenticationContext.EventIds.PROCEED_EVENT_ID, AuthnEventIds.NO_CREDENTIALSProfileRequestContext.getSubcontext(AuthenticationContext.class, false) != null
UsernamePasswordContext.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private String |
passwordFieldName
Parameter name for password.
|
private String |
ssoBypassFieldName
Parameter name for SSO bypass.
|
private String |
usernameFieldName
Parameter name for username.
|
| Constructor and Description |
|---|
ExtractUsernamePasswordFromFormRequest()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext,
AuthenticationContext authenticationContext) |
void |
setPasswordFieldName(String fieldName)
Set the password parameter name.
|
void |
setSSOBypassFieldName(String fieldName)
Set the SSO bypass parameter name.
|
void |
setUsernameFieldName(String fieldName)
Set the username parameter name.
|
applyTransforms, setLowercase, setTransforms, setTrim, setUppercasedoExecute, doPreExecute, doPreExecute, setLookupStrategydoExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
ExtractUsernamePasswordFromFormRequest()
public void setUsernameFieldName(@Nonnull@NotEmpty String fieldName)
fieldName - the username parameter namepublic void setPasswordFieldName(@Nonnull@NotEmpty String fieldName)
fieldName - the password parameter namepublic void setSSOBypassFieldName(@Nonnull@NotEmpty String fieldName)
fieldName - the SSO bypass parameter nameprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull AuthenticationContext authenticationContext)
doExecute in class AbstractAuthenticationActionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.