public class BasicAuthResourceHandler
extends org.eclipse.jetty.server.handler.ResourceHandler
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandlerorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor | Description |
|---|---|
BasicAuthResourceHandler() |
| Modifier and Type | Method | Description |
|---|---|---|
BasicAuthResourceHandler |
addRetryBasicAuthExcludedPath(String path) |
Add path to ignore #setRetryBasicAuth effect
|
void |
handle(String target,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
|
BasicAuthResourceHandler |
setBasicAuth(BasicAuth basicAuth) |
Set the condition of basic authentication
|
BasicAuthResourceHandler |
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.
|
BasicAuthResourceHandler |
setsetSkipBasicAuthCallback(BasicAuthLogicCore.SkipBasicAuthCallback listener) |
doError, doStop, dumpThis, getServerdoShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServeraddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringaddBean, addBean, addBean, addEventListener, addManaged, contains, dump, 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, waitdoStart, getBaseResource, getCacheControl, getGzipEquivalentFileExtensions, getMimeTypes, getMinAsyncContentLength, getMinMemoryMappedContentLength, getPrecompressedFormats, getResource, getResourceBase, getStylesheet, getWelcomeFile, getWelcomeFiles, isAcceptRanges, isDirAllowed, isDirectoriesListed, isEtags, isGzip, isPathInfoOnly, isRedirectWelcome, setAcceptRanges, setBaseResource, setCacheControl, setDirAllowed, setDirectoriesListed, setEtags, setGzip, setGzipEquivalentFileExtensions, setMimeTypes, setMinAsyncContentLength, setMinMemoryMappedContentLength, setPathInfoOnly, setPrecompressedFormats, setRedirectWelcome, setResourceBase, setStylesheet, setWelcomeFilespublic BasicAuthResourceHandler setBasicAuth(BasicAuth basicAuth)
basicAuth - public void handle(String target, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException, javax.servlet.ServletException
handle in class org.eclipse.jetty.server.handler.ResourceHandlerIOExceptionjavax.servlet.ServletExceptionpublic BasicAuthResourceHandler addRetryBasicAuthExcludedPath(String path)
path - public BasicAuthResourceHandler setRetryBasicAuth(boolean enabled)
enabled - public BasicAuthResourceHandler setsetSkipBasicAuthCallback(BasicAuthLogicCore.SkipBasicAuthCallback listener)
Copyright © 2018. All rights reserved.