Class AbstractAuthentication

    • Constructor Detail

      • AbstractAuthentication

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

      • getType

        public abstract String getType()
        Deprecated.
      • getURI

        public URI getURI()
        Deprecated.
      • getRealm

        public String getRealm()
        Deprecated.
      • matches

        public boolean matches​(String type,
                               URI uri,
                               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​(URI uri1,
                                         URI uri2)
        Deprecated.