Interface Authenticator

  • All Known Implementing Classes:
    FixedAuthenticator

    public interface Authenticator
    An authenticator of user credentials.
    Since:
    1.0.0
    Version:
    $Id: Authenticator.java 16154 2012-07-14 16:34:05Z colin $
    Author:
    tlerios@marketcetera.com
    • Method Detail

      • shouldAllow

        boolean shouldAllow​(StatelessClientContext inContext,
                            String inUsername,
                            char[] inRawPassword)
                     throws I18NException
        Checks whether the given credentials can be used to initiate a new session on behalf of the client with the given context.
        Parameters:
        inContext - The context.
        inUsername - The user name.
        inRawPassword - The password.
        Returns:
        True if the given credentials are acceptable.
        Throws:
        I18NException - Thrown if the authenticator encounters an error while checking the credentials.