Class AbstractAuthentication

    • Constructor Detail

      • AbstractAuthentication

        public AbstractAuthentication​(java.net.URI uri,
                                      java.lang.String realm)
        Deprecated.
    • Method Detail

      • getType

        public abstract java.lang.String getType()
        Deprecated.
      • getURI

        public java.net.URI getURI()
        Deprecated.
      • getRealm

        public java.lang.String getRealm()
        Deprecated.
      • matches

        public boolean matches​(java.lang.String type,
                               java.net.URI uri,
                               java.lang.String realm)
        Deprecated.
        Description copied from interface: Authentication
        Matches Authentications based on the given parameters
        Specified by:
        matches in interface Authentication
        Parameters:
        type - the Authentication type such as "Basic" or "Digest"
        uri - the request URI
        realm - the authentication realm as provided in the WWW-Authenticate response header
        Returns:
        true if this authentication matches, false otherwise
      • matchesURI

        public static boolean matchesURI​(java.net.URI uri1,
                                         java.net.URI uri2)
        Deprecated.