public class DrillHttpSecurityHandlerProvider
extends org.eclipse.jetty.security.ConstraintSecurityHandler
org.eclipse.jetty.security.SecurityHandler.NotCheckedorg.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandlerorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerorg.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, setRolescheckSecurity, findIdentityService, findLoginService, getAuthenticator, getAuthenticatorFactory, getAuthMethod, getCurrentSecurityHandler, getIdentityService, getInitParameter, getInitParameterNames, getKnownAuthenticatorFactories, getLoginService, getRealmName, isCheckWelcomeFiles, isSessionRenewedOnAuthentication, logout, setAuthenticator, setAuthenticatorFactory, setAuthMethod, setCheckWelcomeFiles, setIdentityService, setInitParameter, setLoginService, setRealmName, setSessionRenewedOnAuthenticationdestroy, expandChildren, getHandler, getHandlers, insertHandlerdoShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServeraddBean, 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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stoppublic DrillHttpSecurityHandlerProvider(DrillConfig config, DrillbitContext drillContext) throws DrillbitStartupException
DrillbitStartupExceptionpublic void doStart()
throws Exception
doStart in class org.eclipse.jetty.security.ConstraintSecurityHandlerExceptionpublic 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.Handlerhandle in class org.eclipse.jetty.security.SecurityHandlerIOExceptionjavax.servlet.ServletExceptionpublic void setHandler(org.eclipse.jetty.server.Handler handler)
setHandler in class org.eclipse.jetty.server.handler.HandlerWrapperpublic void doStop()
throws Exception
doStop in class org.eclipse.jetty.security.ConstraintSecurityHandlerExceptionpublic boolean isSpnegoEnabled()
public boolean isFormEnabled()
public boolean isBasicEnabled()
public static Set<String> getHttpAuthMechanisms(DrillConfig config)
config - - DrillConfigCopyright © 2021 The Apache Software Foundation. All rights reserved.