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 protectedBasicProtocolBasedHttpAuthenticationScheme(LoginConfiguration loginConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterProcess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected SimpleCredentialsextractCredentials(AuthorizationHeader header)protected StringgetProtocolName()protected booleanisProtocolSupported(AuthorizationHeader authorizationHeader)booleanmatchesPath(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:
getProtocolNamein classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
isProtocolSupported
protected boolean isProtocolSupported(@Nullable AuthorizationHeader authorizationHeader)- Specified by:
isProtocolSupportedin classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
extractCredentials
protected SimpleCredentials extractCredentials(@NotNull AuthorizationHeader header)
- Specified by:
extractCredentialsin classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
afterProcess
protected void afterProcess(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response)- Overrides:
afterProcessin classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
-