Class DrillSpnegoLoginService
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.security.SpnegoLoginService
org.apache.drill.exec.server.rest.auth.DrillSpnegoLoginService
- All Implemented Interfaces:
org.eclipse.jetty.security.LoginService,org.eclipse.jetty.util.component.LifeCycle
public class DrillSpnegoLoginService
extends org.eclipse.jetty.security.SpnegoLoginService
Custom implementation of DrillSpnegoLoginService to avoid the need of passing targetName in a config file,
to include the SPNEGO OID and the way UserIdentity is created.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerNested 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.security.SpnegoLoginService
_identityService, _nameFields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jetty.security.SpnegoLoginService
getConfig, getIdentityService, getName, logout, setConfig, setIdentityService, setName, validateMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
Constructor Details
-
DrillSpnegoLoginService
- Throws:
DrillException
-
-
Method Details
-
doStart
- Overrides:
doStartin classorg.eclipse.jetty.security.SpnegoLoginService- Throws:
Exception
-
login
public org.eclipse.jetty.server.UserIdentity login(String username, Object credentials, javax.servlet.ServletRequest request) - Specified by:
loginin interfaceorg.eclipse.jetty.security.LoginService- Overrides:
loginin classorg.eclipse.jetty.security.SpnegoLoginService
-