Class PasswordCredentialsExtractor

  • All Implemented Interfaces:
    org.pac4j.core.credentials.extractor.CredentialsExtractor

    public class PasswordCredentialsExtractor
    extends Object
    implements org.pac4j.core.credentials.extractor.CredentialsExtractor
    Extractor for retrieving an password from an request
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • Constructor Detail

      • PasswordCredentialsExtractor

        public PasswordCredentialsExtractor​(String passwordParameter)
    • Method Detail

      • extract

        public Optional<org.pac4j.core.credentials.Credentials> extract​(org.pac4j.core.context.WebContext context,
                                                                        org.pac4j.core.context.session.SessionStore sessionStore)
        Specified by:
        extract in interface org.pac4j.core.credentials.extractor.CredentialsExtractor