| java.lang.Object org.josso.auth.AuthenticatorImpl
AuthenticatorImpl | public class AuthenticatorImpl implements Authenticator(Code) | | This is the default authenticator implementation.
TODO : Support multiple authentication schemes, using config info.
author: Sebastian Gonzalez Oyuela version: $Id: AuthenticatorImpl.java 508 2008-02-18 13:32:29Z sgonzalez $ |
check | public Subject check(Credential[] credentials, String schemeName) throws SSOAuthenticationException(Code) | | Validates user identity. Populates the Subject with Principal and Credential information.
Parameters: credentials - the credentials to be checked Parameters: schemeName - the authentication scheme to be used to check the supplied credentials. |
getAuthCount | public long getAuthCount()(Code) | | |
getAuthFailures | public long getAuthFailures()(Code) | | |
getScheme | protected AuthenticationScheme getScheme(String schemeName)(Code) | | This method clones the configured authentication scheme because
authentication schemes are not thread safe. It's a "prototype" pattern.
Parameters: schemeName - the name of the authentication scheme to instantiate. the cloned AuthenticationScheme |
setAuthenticationSchemes | public void setAuthenticationSchemes(AuthenticationScheme[] as)(Code) | | A prototype instance of the used authentication scheme is injected.
This isntance will be cloned for each authentication process.
|
|
|