Class AppServer.TestMappedLoginService

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.security.AbstractLoginService
org.eclipse.jgit.junit.http.AppServer.TestMappedLoginService
All Implemented Interfaces:
org.eclipse.jetty.security.LoginService, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle
Enclosing class:
AppServer

static class AppServer.TestMappedLoginService extends org.eclipse.jetty.security.AbstractLoginService
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.security.AbstractLoginService

    org.eclipse.jetty.security.AbstractLoginService.RolePrincipal, org.eclipse.jetty.security.AbstractLoginService.UserPrincipal

    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.Container

    org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener

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

    org.eclipse.jetty.util.component.Dumpable.DumpableContainer

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

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

    Fields
    Modifier and Type
    Field
    Description
    private String
     
    protected final Map<String,org.eclipse.jetty.security.AbstractLoginService.UserPrincipal>
     

    Fields inherited from class org.eclipse.jetty.security.AbstractLoginService

    _fullValidate, _identityService, _name

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

    FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING

    Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected String[]
    loadRoleInfo(org.eclipse.jetty.security.AbstractLoginService.UserPrincipal user)
     
    protected org.eclipse.jetty.security.AbstractLoginService.UserPrincipal
     

    Methods inherited from class org.eclipse.jetty.security.AbstractLoginService

    getIdentityService, getName, isFullValidate, login, logout, setFullValidate, setIdentityService, setName, toString, validate

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

    addBean, addBean, addEventListener, addManaged, contains, destroy, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans

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

    addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

    dumpSelf

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    isDumpable
  • Field Details

    • role

      private String role
    • users

      protected final Map<String,org.eclipse.jetty.security.AbstractLoginService.UserPrincipal> users
  • Constructor Details

    • TestMappedLoginService

      TestMappedLoginService(String role)
  • Method Details

    • doStart

      protected void doStart() throws Exception
      Overrides:
      doStart in class org.eclipse.jetty.util.component.ContainerLifeCycle
      Throws:
      Exception
    • loadRoleInfo

      protected String[] loadRoleInfo(org.eclipse.jetty.security.AbstractLoginService.UserPrincipal user)
      Specified by:
      loadRoleInfo in class org.eclipse.jetty.security.AbstractLoginService
    • loadUserInfo

      protected org.eclipse.jetty.security.AbstractLoginService.UserPrincipal loadUserInfo(String user)
      Specified by:
      loadUserInfo in class org.eclipse.jetty.security.AbstractLoginService