Package jenkins.security
Class ApiTokenFilter
java.lang.Object
jenkins.security.BasicHeaderProcessor
jenkins.security.ApiTokenFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
,org.kohsuke.stapler.CompatibleFilter
Deprecated.
Filter
that performs HTTP basic authentication based on API token.
Normally the filter chain would also contain another filter that handles BASIC auth with the real password. Care must be taken to ensure that this doesn't interfere with the other.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<? extends BasicHeaderAuthenticator>
all()
Deprecated.Methods inherited from class jenkins.security.BasicHeaderProcessor
authenticationIsRequired, destroy, doFilter, fail, init, setAuthenticationEntryPoint, setRememberMeServices, success
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.kohsuke.stapler.CompatibleFilter
doFilter, init
-
Constructor Details
-
ApiTokenFilter
public ApiTokenFilter()Deprecated.
-
-
Method Details
-
all
Deprecated.- Overrides:
all
in classBasicHeaderProcessor
-
BasicHeaderProcessor