Uses of Class
net.shibboleth.idp.authn.context.UsernamePasswordContext
Packages that use UsernamePasswordContext
Package
Description
APIs related to the authentication of a subject.
Context classes for managing authentication-related state.
Implementation of various authentication actions.
-
Uses of UsernamePasswordContext in net.shibboleth.idp.authn
Fields in net.shibboleth.idp.authn with type parameters of type UsernamePasswordContextModifier and TypeFieldDescriptionAbstractUsernamePasswordCredentialValidator.usernamePasswordContextLookupStrategyLookup strategy for UP context.Methods in net.shibboleth.idp.authn with parameters of type UsernamePasswordContextModifier and TypeMethodDescriptionprotected abstract SubjectAbstractUsernamePasswordCredentialValidator.doValidate(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, UsernamePasswordContext usernamePasswordContext, CredentialValidator.WarningHandler warningHandler, CredentialValidator.ErrorHandler errorHandler) Override method for subclasses to use to perform the actual validation.protected SubjectAbstractUsernamePasswordCredentialValidator.populateSubject(Subject subject, UsernamePasswordContext usernamePasswordContext) Decorate the subject with "standard" content from the validation and clean up as instructed.Method parameters in net.shibboleth.idp.authn with type arguments of type UsernamePasswordContextModifier and TypeMethodDescriptionvoidAbstractUsernamePasswordCredentialValidator.setUsernamePasswordContextLookupStrategy(Function<AuthenticationContext, UsernamePasswordContext> strategy) Set the lookup strategy to locate theUsernamePasswordContext. -
Uses of UsernamePasswordContext in net.shibboleth.idp.authn.context
Methods in net.shibboleth.idp.authn.context that return UsernamePasswordContextModifier and TypeMethodDescriptionUsernamePasswordContext.setPassword(String pass) Sets the password associated with the username.UsernamePasswordContext.setTransformedUsername(String name) Sets the transformed username.UsernamePasswordContext.setUsername(String name) Sets the username and resets the transformed version to be identical. -
Uses of UsernamePasswordContext in net.shibboleth.idp.authn.impl
Fields in net.shibboleth.idp.authn.impl declared as UsernamePasswordContextModifier and TypeFieldDescriptionprivate final UsernamePasswordContextJAASCredentialValidator.SimpleCallbackHandler.contextContext for call.private final UsernamePasswordContextKerberosCredentialValidator.SimpleCallbackHandler.contextContext for call.private UsernamePasswordContextPrePopulateUsername.usernameContextContext to operate on.Fields in net.shibboleth.idp.authn.impl with type parameters of type UsernamePasswordContextModifier and TypeFieldDescriptionExtractUsernamePasswordFromBasicAuth.contextCreationStrategyCreation strategy for UsernamePasswordContext.PrePopulateUsername.usernamePasswordContextCreationStrategyStrategy used to create/locate theUsernamePasswordContextto operate on.Methods in net.shibboleth.idp.authn.impl with parameters of type UsernamePasswordContextModifier and TypeMethodDescriptionprivate booleanHTPasswdCredentialValidator.authenticate(UsernamePasswordContext usernamePasswordContext, String storedPassword) Compare input password to stored value.private SubjectJAASCredentialValidator.authenticate(String loginConfigName, UsernamePasswordContext usernamePasswordContext) Create a JAAS configuration and attempt a login with it.protected SubjectHTPasswdCredentialValidator.doValidate(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, UsernamePasswordContext usernamePasswordContext, CredentialValidator.WarningHandler warningHandler, CredentialValidator.ErrorHandler errorHandler) Override method for subclasses to use to perform the actual validation.protected SubjectJAASCredentialValidator.doValidate(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, UsernamePasswordContext usernamePasswordContext, CredentialValidator.WarningHandler warningHandler, CredentialValidator.ErrorHandler errorHandler) Override method for subclasses to use to perform the actual validation.protected SubjectKerberosCredentialValidator.doValidate(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, UsernamePasswordContext usernamePasswordContext, CredentialValidator.WarningHandler warningHandler, CredentialValidator.ErrorHandler errorHandler) Override method for subclasses to use to perform the actual validation.protected SubjectLDAPCredentialValidator.doValidate(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, UsernamePasswordContext usernamePasswordContext, CredentialValidator.WarningHandler warningHandler, CredentialValidator.ErrorHandler errorHandler) Override method for subclasses to use to perform the actual validation.protected SubjectJAASCredentialValidator.populateSubject(Subject subject, Subject derivedSubject, UsernamePasswordContext usernamePasswordContext) Finish decorating the result.protected SubjectKerberosCredentialValidator.populateSubject(Subject subject, UsernamePasswordContext usernamePasswordContext) Decorate the subject with "standard" content from the validation and clean up as instructed.protected SubjectLDAPCredentialValidator.populateSubject(UsernamePasswordContext usernamePasswordContext, AuthenticationResponse ldapResponse) Builds a newSubjectpopulated with the necessary data.Method parameters in net.shibboleth.idp.authn.impl with type arguments of type UsernamePasswordContextModifier and TypeMethodDescriptionvoidExtractUsernamePasswordFromBasicAuth.setUsernamePasswordContextCreationStrategy(Function<ProfileRequestContext, UsernamePasswordContext> strategy) Sets the creation strategy for theUsernamePasswordContext.voidPrePopulateUsername.setUsernamePasswordContextCreationStrategy(Function<ProfileRequestContext, UsernamePasswordContext> strategy) Set the strategy used to create/locate theUsernamePasswordContextto operate on.Constructors in net.shibboleth.idp.authn.impl with parameters of type UsernamePasswordContextModifierConstructorDescriptionSimpleCallbackHandler(UsernamePasswordContext usernamePasswordContext) Constructor.SimpleCallbackHandler(UsernamePasswordContext usernamePasswordContext) Constructor.