class AuthenticationUtil {

    public static void authenticate(String userId, String password)
        throws AuthenticationFailedException, UserIdLockedException, PasswordExpiredException {
        PasswordAuthenticator authenticator = SystemRepository.get(AUTHENTICATOR);
        authenticator.authenticate(userId, password);
    }

    private  AuthenticationUtil();

}