Package org.eclipse.jetty.security
Class UserStore
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.security.UserStore
- All Implemented Interfaces:
LifeCycle
- Direct Known Subclasses:
PropertyUserStore
Store of user authentication and authorization information.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addUser
(String username, Credential credential, String[] roles) getRolePrincipals
(String username) getUserPrincipal
(String username) void
removeUser
(String username) toString()
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, doStart, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop
-
Field Details
-
_users
-
-
Constructor Details
-
UserStore
public UserStore()
-
-
Method Details
-
addUser
-
removeUser
-
getUserPrincipal
-
getRolePrincipals
-
toString
- Overrides:
toString
in classAbstractLifeCycle
-