public class NuxeoLoginModule extends NuxeoAbstractServerLoginModule
callbackHandler, loginOk, options, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass| Constructor and Description | 
|---|
NuxeoLoginModule()  | 
| Modifier and Type | Method and Description | 
|---|---|
NuxeoPrincipal | 
createIdentity(String username)  | 
NuxeoPrincipal | 
getIdentity()  | 
protected NuxeoPrincipal | 
getPrincipal()  | 
protected Group[] | 
getRoleSets()
Gets the roles the user belongs to. 
 | 
void | 
initialize(Subject subject,
          CallbackHandler callbackHandler,
          Map<String,?> sharedState,
          Map<String,?> options)  | 
boolean | 
login()  | 
protected NuxeoPrincipal | 
validateUserIdentity(UserIdentificationInfo userIdent)  | 
protected NuxeoPrincipal | 
validateUsernamePassword(String username,
                        String password)  | 
abort, commit, createGroup, logoutpublic NuxeoLoginModule()
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class NuxeoAbstractServerLoginModuleprotected Group[] getRoleSets() throws LoginException
getRoleSets in class NuxeoAbstractServerLoginModuleLoginExceptionprotected NuxeoPrincipal getPrincipal() throws LoginException
LoginExceptionpublic boolean login() throws LoginException
LoginExceptionpublic NuxeoPrincipal getIdentity()
getIdentity in class NuxeoAbstractServerLoginModulepublic NuxeoPrincipal createIdentity(String username) throws LoginException
createIdentity in class NuxeoAbstractServerLoginModuleLoginExceptionprotected NuxeoPrincipal validateUserIdentity(UserIdentificationInfo userIdent) throws LoginException
LoginExceptionprotected NuxeoPrincipal validateUsernamePassword(String username, String password) throws LoginException
LoginExceptionCopyright © 2019 Nuxeo. All rights reserved.