Interface AuthenticationStore

    • Method Detail

      • addAuthentication

        void addAuthentication​(Authentication authentication)
        Deprecated.
        Parameters:
        authentication - the Authentication to add
      • removeAuthentication

        void removeAuthentication​(Authentication authentication)
        Deprecated.
        Parameters:
        authentication - the Authentication to remove
      • clearAuthentications

        void clearAuthentications()
        Deprecated.
        Removes all Authentications stored
      • findAuthentication

        Authentication findAuthentication​(java.lang.String type,
                                          java.net.URI uri,
                                          java.lang.String realm)
        Deprecated.
        Returns the authentication that matches the given type (for example, "Basic" or "Digest"), the given request URI and the given realm. If no such authentication can be found, returns null.
        Parameters:
        type - the Authentication type such as "Basic" or "Digest"
        uri - the request URI
        realm - the authentication realm
        Returns:
        the authentication that matches the given parameters, or null
      • clearAuthenticationResults

        void clearAuthenticationResults()
        Deprecated.
        Removes all authentication results stored
      • hasAuthenticationResults

        default boolean hasAuthenticationResults()
        Deprecated.
        Returns:
        false if there are no stored authentication results, true if there may be some.