public class DrillHttpSecurityHandlerProvider
extends org.eclipse.jetty.security.ConstraintSecurityHandler
org.eclipse.jetty.security.SecurityHandler.NotChecked
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
org.eclipse.jetty.util.component.LifeCycle.Listener
Constructor and Description |
---|
DrillHttpSecurityHandlerProvider(DrillConfig config,
DrillbitContext drillContext) |
Modifier and Type | Method and Description |
---|---|
void |
doStart() |
void |
doStop() |
static Set<String> |
getHttpAuthMechanisms(DrillConfig config)
Returns a list of configured mechanisms for HTTP authentication.
|
void |
handle(String target,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
isBasicEnabled() |
boolean |
isFormEnabled() |
boolean |
isSpnegoEnabled() |
void |
setHandler(org.eclipse.jetty.server.Handler handler) |
addConstraintMapping, addRole, checkPathsWithUncoveredHttpMethods, checkUserDataPermissions, checkWebResourcePermissions, configureRoleInfo, createConstraint, createConstraint, createConstraint, createConstraint, createConstraint, createConstraintsWithMappingsForPath, dump, getConstraintMappings, getConstraintMappingsForPath, getOmittedMethods, getPathsWithUncoveredHttpMethods, getRoles, isAuthMandatory, isDenyUncoveredHttpMethods, omissionsExist, prepareConstraintInfo, processConstraintMapping, processConstraintMappingWithMethodOmissions, removeConstraintMappingsForPath, setConstraintMappings, setConstraintMappings, setConstraintMappings, setDenyUncoveredHttpMethods, setRoles
checkSecurity, findIdentityService, findLoginService, getAuthenticator, getAuthenticatorFactory, getAuthMethod, getCurrentSecurityHandler, getIdentityService, getInitParameter, getInitParameterNames, getKnownAuthenticatorFactories, getLoginService, getRealmName, isCheckWelcomeFiles, isSessionRenewedOnAuthentication, logout, setAuthenticator, setAuthenticatorFactory, setAuthMethod, setCheckWelcomeFiles, setIdentityService, setInitParameter, setLoginService, setRealmName, setSessionRenewedOnAuthentication
destroy, expandChildren, getHandler, getHandlers, insertHandler
doShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServer
addBean, addBean, addEventListener, addManaged, contains, 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
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stop
public DrillHttpSecurityHandlerProvider(DrillConfig config, DrillbitContext drillContext) throws DrillbitStartupException
DrillbitStartupException
public void doStart() throws Exception
doStart
in class org.eclipse.jetty.security.ConstraintSecurityHandler
Exception
public void handle(String target, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
handle
in interface org.eclipse.jetty.server.Handler
handle
in class org.eclipse.jetty.security.SecurityHandler
IOException
javax.servlet.ServletException
public void setHandler(org.eclipse.jetty.server.Handler handler)
setHandler
in class org.eclipse.jetty.server.handler.HandlerWrapper
public void doStop() throws Exception
doStop
in class org.eclipse.jetty.security.ConstraintSecurityHandler
Exception
public boolean isSpnegoEnabled()
public boolean isFormEnabled()
public boolean isBasicEnabled()
public static Set<String> getHttpAuthMechanisms(DrillConfig config)
config
- - DrillConfig
Copyright © 1970 The Apache Software Foundation. All rights reserved.