Class 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
      UserStore()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addUser​(java.lang.String username, org.eclipse.jetty.util.security.Credential credential, java.lang.String[] roles)  
      IdentityService getIdentityService()  
      java.util.Map<java.lang.String,​UserIdentity> getKnownUserIdentities()  
      UserIdentity getUserIdentity​(java.lang.String userName)  
      void removeUser​(java.lang.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 Detail

      • UserStore

        public UserStore()
    • Method Detail

      • addUser

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

        public void removeUser​(java.lang.String username)
      • getUserIdentity

        public UserIdentity getUserIdentity​(java.lang.String userName)
      • getKnownUserIdentities

        public java.util.Map<java.lang.String,​UserIdentity> getKnownUserIdentities()