Class RFC2617Scheme

  • All Implemented Interfaces:
    java.io.Serializable, AuthScheme, ContextAwareAuthScheme
    Direct Known Subclasses:
    BasicScheme, DigestScheme

    public abstract class RFC2617Scheme
    extends AuthSchemeBase
    implements java.io.Serializable
    Abstract authentication scheme class that lays foundation for all RFC 2617 compliant authentication schemes and provides capabilities common to all authentication schemes defined in RFC 2617.
    Since:
    4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • RFC2617Scheme

        @Deprecated
        public RFC2617Scheme​(ChallengeState challengeState)
        Deprecated.
        (4.3) do not use.
        Creates an instance of RFC2617Scheme with the given challenge state.
        Since:
        4.2
      • RFC2617Scheme

        public RFC2617Scheme​(java.nio.charset.Charset credentialsCharset)
        Since:
        4.3
      • RFC2617Scheme

        public RFC2617Scheme()
    • Method Detail

      • getCredentialsCharset

        public java.nio.charset.Charset getCredentialsCharset()
        Since:
        4.3
      • getParameter

        public java.lang.String getParameter​(java.lang.String name)
        Returns authentication parameter with the given name, if available.
        Specified by:
        getParameter in interface AuthScheme
        Parameters:
        name - The name of the parameter to be returned
        Returns:
        the parameter with the given name
      • getRealm

        public java.lang.String getRealm()
        Returns authentication realm. The realm may not be null.
        Specified by:
        getRealm in interface AuthScheme
        Returns:
        the authentication realm