Class UserStore

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.security.UserStore
All Implemented Interfaces:
org.eclipse.jetty.util.component.LifeCycle
Direct Known Subclasses:
PropertyUserStore

public class UserStore extends org.eclipse.jetty.util.component.AbstractLifeCycle
Base class to store User
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

    org.eclipse.jetty.util.component.LifeCycle.Listener
  • Field Summary

    Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addUser(String username, org.eclipse.jetty.util.security.Credential credential, String[] roles)
     
     
     
     
    void
    removeUser(String username)
     

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    addLifeCycleListener, doStart, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UserStore

      public UserStore()
  • Method Details

    • addUser

      public void addUser(String username, org.eclipse.jetty.util.security.Credential credential, String[] roles)
    • removeUser

      public void removeUser(String username)
    • getUserIdentity

      public UserIdentity getUserIdentity(String userName)
    • getIdentityService

      public IdentityService getIdentityService()
    • getKnownUserIdentities

      public Map<String,UserIdentity> getKnownUserIdentities()