public class UserStore extends AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor and Description |
|---|
UserStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(String username,
Credential credential,
String[] roles) |
IdentityService |
getIdentityService() |
Map<String,UserIdentity> |
getKnownUserIdentities() |
UserIdentity |
getUserIdentity(String userName) |
void |
removeUser(String username) |
addLifeCycleListener, doStart, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stoppublic void addUser(String username, Credential credential, String[] roles)
public void removeUser(String username)
public UserIdentity getUserIdentity(String userName)
public IdentityService getIdentityService()
public Map<String,UserIdentity> getKnownUserIdentities()
Copyright © 1995–2017 Webtide. All rights reserved.