org.nuxeo.runtime.api.login
Class AuthenticationLoginModule
java.lang.Object
org.nuxeo.runtime.api.login.AuthenticationLoginModule
- All Implemented Interfaces:
- LoginModule
public class AuthenticationLoginModule
- extends Object
- implements LoginModule
A login module that will use the current registered authenticator to validate
a given username / password pair.
- Author:
- Bogdan Stefanescu
AuthenticationLoginModule
public AuthenticationLoginModule()
authenticate
public Principal authenticate(String[] login)
throws Exception
- Throws:
Exception
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
- Specified by:
initialize
in interface LoginModule
login
public boolean login()
throws LoginException
- Specified by:
login
in interface LoginModule
- Throws:
LoginException
abort
public boolean abort()
throws LoginException
- Specified by:
abort
in interface LoginModule
- Throws:
LoginException
commit
public boolean commit()
throws LoginException
- Specified by:
commit
in interface LoginModule
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Specified by:
logout
in interface LoginModule
- Throws:
LoginException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.