Class AbstractBasicHttpAuthenticatorFactory.BasicHttpAuthenticator

    • Method Detail

      • authenticate

        public boolean authenticate​(Description.RequiredAuthentication required,
                                    boolean isGuest)
        Checks that the user has access to the webscript.
        Specified by:
        authenticate in interface Authenticator
        Parameters:
        required - Required level of authentication
        isGuest - true if a Guest is accessing the web script
        Returns:
        true if webscript has "none" or "guest" authentication OR user and password match and user has requested role
      • emptyCredentials

        public boolean emptyCredentials()
        Check if the credentials are empty.
        Specified by:
        emptyCredentials in interface Authenticator
        Returns:
        true if the credentials are emtpy