public class BasicAuthSecurityHandler
extends org.eclipse.jetty.security.ConstraintSecurityHandler
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandlerorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerorg.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener| Constructor | Description |
|---|---|
BasicAuthSecurityHandler() |
| Modifier and Type | Method | Description |
|---|---|---|
BasicAuthSecurityHandler |
addRetryBasicAuthExcludedPath(String path) |
Add path to ignore #setRetryBasicAuth effect
|
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
|
BasicAuthSecurityHandler |
setRetryBasicAuth(boolean enabled) |
Enabling retry of basic authentication when authorization failed
If the user-A who has already passed the BASIC authentication for page-A.
|
BasicAuthSecurityHandler |
setSkipBasicAuthCallback(BasicAuthLogicCore.SkipBasicAuthCallback listener) |
doError, dumpThis, getServerdoShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServeraddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringaddConstraintMapping, 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, setRolesaddBean, 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, updateBeansdestroy, expandChildren, getHandler, getHandlers, insertHandler, setHandleraddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckSecurity, findIdentityService, findLoginService, getAuthenticator, getAuthenticatorFactory, getAuthMethod, getCurrentSecurityHandler, getIdentityService, getInitParameter, getInitParameterNames, getLoginService, getRealmName, isCheckWelcomeFiles, isSessionRenewedOnAuthentication, logout, setAuthenticator, setAuthenticatorFactory, setAuthMethod, setCheckWelcomeFiles, setIdentityService, setInitParameter, setLoginService, setRealmName, setSessionRenewedOnAuthenticationpublic 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.SecurityHandlerIOExceptionjavax.servlet.ServletExceptionpublic BasicAuthSecurityHandler addRetryBasicAuthExcludedPath(String path)
path - public BasicAuthSecurityHandler setRetryBasicAuth(boolean enabled)
enabled - public BasicAuthSecurityHandler setSkipBasicAuthCallback(BasicAuthLogicCore.SkipBasicAuthCallback listener)
Copyright © 2018. All rights reserved.