public class BasicAuthSecurityHandler
extends org.eclipse.jetty.security.ConstraintSecurityHandler
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
Constructor | Description |
---|---|
BasicAuthSecurityHandler() |
Modifier and Type | Method | Description |
---|---|---|
void |
handle(String pathInContext,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
BasicAuthSecurityHandler |
setBasicAuth(BasicAuth basicAuth) |
Set the condition of basic authentication
|
doError, dumpThis, getServer
doShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServer
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
addConstraintMapping, addRole, checkPathsWithUncoveredHttpMethods, checkUserDataPermissions, checkWebResourcePermissions, configureRoleInfo, createConstraint, createConstraint, createConstraint, createConstraint, createConstraint, createConstraintsWithMappingsForPath, doStart, doStop, dump, getConstraintMappings, getConstraintMappingsForPath, getOmittedMethods, getPathsWithUncoveredHttpMethods, getRoles, isAuthMandatory, isDenyUncoveredHttpMethods, omissionsExist, prepareConstraintInfo, processConstraintMapping, processConstraintMappingWithMethodOmissions, removeConstraintMappingsForPath, setConstraintMappings, setConstraintMappings, setConstraintMappings, setDenyUncoveredHttpMethods, setRoles
addBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
destroy, expandChildren, getHandler, getHandlers, insertHandler, setHandler
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkSecurity, findIdentityService, findLoginService, getAuthenticator, getAuthenticatorFactory, getAuthMethod, getCurrentSecurityHandler, getIdentityService, getInitParameter, getInitParameterNames, getLoginService, getRealmName, isCheckWelcomeFiles, isSessionRenewedOnAuthentication, logout, setAuthenticator, setAuthenticatorFactory, setAuthMethod, setCheckWelcomeFiles, setIdentityService, setInitParameter, setLoginService, setRealmName, setSessionRenewedOnAuthentication
public BasicAuthSecurityHandler setBasicAuth(BasicAuth basicAuth)
basicAuth
- public void handle(String pathInContext, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
handle
in class org.eclipse.jetty.security.SecurityHandler
IOException
javax.servlet.ServletException
Copyright © 2018. All rights reserved.