Class BasicProtocolBasedHttpAuthenticationScheme
- java.lang.Object
-
- jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
-
- jetbrains.buildServer.controllers.interceptors.auth.HttpAuthenticationSchemeAdapter
-
- jetbrains.buildServer.controllers.interceptors.auth.ProtocolBasedHttpAuthenticationSchemeAdapter
-
- jetbrains.buildServer.controllers.interceptors.auth.impl.AuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
- jetbrains.buildServer.controllers.interceptors.auth.impl.BasicProtocolBasedHttpAuthenticationScheme
-
- All Implemented Interfaces:
HttpAuthenticationProtocolsProvider
,HttpAuthenticationScheme
,PathMatcher
,ProtocolBasedHttpAuthenticationScheme
,AuthModuleType
- Direct Known Subclasses:
AgentHttpAuthenticationScheme
,BasicHttpAuthenticationScheme
public abstract class BasicProtocolBasedHttpAuthenticationScheme extends AuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
- Author:
- maxim.manuylov Date: 7/23/12
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BasicProtocolBasedHttpAuthenticationScheme(LoginConfiguration loginConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterProcess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected SimpleCredentials
extractCredentials(AuthorizationHeader header)
protected String
getProtocolName()
protected boolean
isProtocolSupported(AuthorizationHeader authorizationHeader)
boolean
matchesPath(String path)
-
Methods inherited from class jetbrains.buildServer.controllers.interceptors.auth.impl.AuthorizationHeaderBasedHttpAuthenticationScheme
checkCredentials, getAllowedProtocols, getForcedProtocols, isForcible, processAuthenticationRequest
-
Methods inherited from class jetbrains.buildServer.controllers.interceptors.auth.HttpAuthenticationSchemeAdapter
doGetName, getName, validate
-
Methods inherited from class jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
describeProperties, getDefaultProperties, getDescription, getDisplayName, getEditPropertiesJspFilePath, isMultipleInstancesAllowed
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.auth.AuthModuleType
describeProperties, getDefaultProperties, getDescription, getDisplayName, getEditPropertiesJspFilePath, getName, isMultipleInstancesAllowed, validate
-
Methods inherited from interface jetbrains.buildServer.controllers.interceptors.auth.HttpAuthenticationScheme
shouldSkip2FA
-
-
-
-
Constructor Detail
-
BasicProtocolBasedHttpAuthenticationScheme
protected BasicProtocolBasedHttpAuthenticationScheme(@Nullable LoginConfiguration loginConfiguration)
-
-
Method Detail
-
matchesPath
public final boolean matchesPath(@NotNull String path)
-
getProtocolName
protected final String getProtocolName()
- Specified by:
getProtocolName
in classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
isProtocolSupported
protected boolean isProtocolSupported(@Nullable AuthorizationHeader authorizationHeader)
- Specified by:
isProtocolSupported
in classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
extractCredentials
protected SimpleCredentials extractCredentials(@NotNull AuthorizationHeader header)
- Specified by:
extractCredentials
in classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
afterProcess
protected void afterProcess(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response)
- Overrides:
afterProcess
in classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
-