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.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.security.SpnegoLoginService
_identityService, _name
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.security.SpnegoLoginService
getConfig, getIdentityService, getName, logout, setConfig, setIdentityService, setName, validate
Methods 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:
doStart
in 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:
login
in interfaceorg.eclipse.jetty.security.LoginService
- Overrides:
login
in classorg.eclipse.jetty.security.SpnegoLoginService
-