public class BasicAuthResourceHandler
extends org.eclipse.jetty.server.handler.ResourceHandler
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
org.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, getServer
doShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServer
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
addBean, 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, 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
doStart, 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, setWelcomeFiles
public 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.ResourceHandler
IOException
javax.servlet.ServletException
public BasicAuthResourceHandler addRetryBasicAuthExcludedPath(String path)
path
- public BasicAuthResourceHandler setRetryBasicAuth(boolean enabled)
enabled
- public BasicAuthResourceHandler setsetSkipBasicAuthCallback(BasicAuthLogicCore.SkipBasicAuthCallback listener)
Copyright © 2018. All rights reserved.