Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.api.login
Class AuthenticationLoginModule

java.lang.Object
  extended by 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

Constructor Summary
AuthenticationLoginModule()
           
 
Method Summary
 boolean abort()
           
 Principal authenticate(String[] login)
           
 boolean commit()
           
 void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
           
 boolean login()
           
 boolean logout()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationLoginModule

public AuthenticationLoginModule()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.