public class NuxeoLoginModule extends NuxeoAbstractServerLoginModule
Constructor and Description |
---|
NuxeoLoginModule() |
Modifier and Type | Method and Description |
---|---|
Principal |
createIdentity(String username) |
Principal |
getIdentity() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
abort, commit, logout
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
initialize
in class NuxeoAbstractServerLoginModule
public boolean login() throws LoginException
LoginException
public Principal getIdentity()
public Principal createIdentity(String username) throws LoginException
LoginException
Copyright © 2014 Nuxeo SA. All rights reserved.