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 ClassesNested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUser(String username, Credential credential, String[] roles) getRolePrincipals(String username) getUserPrincipal(String username) voidremoveUser(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:
toStringin classAbstractLifeCycle
-