Class AgentHttpAuthenticationScheme
- 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
-
- jetbrains.buildServer.controllers.interceptors.auth.impl.AgentHttpAuthenticationScheme
-
- All Implemented Interfaces:
HttpAuthenticationProtocolsProvider,HttpAuthenticationScheme,PathMatcher,ProtocolBasedHttpAuthenticationScheme,AuthModuleType,SystemAuthModuleType
public class AgentHttpAuthenticationScheme extends BasicProtocolBasedHttpAuthenticationScheme implements SystemAuthModuleType
- Author:
- Maxim.Manuylov Date: 4/11/12
-
-
Constructor Summary
Constructors Constructor Description AgentHttpAuthenticationScheme(RunningBuildsManager runningBuildsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpAuthenticationResultcheckCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SimpleCredentials credentials, Map<String,String> properties)protected StringdoGetName()protected booleanisForcible()-
Methods inherited from class jetbrains.buildServer.controllers.interceptors.auth.impl.BasicProtocolBasedHttpAuthenticationScheme
afterProcess, extractCredentials, getProtocolName, isProtocolSupported, matchesPath
-
Methods inherited from class jetbrains.buildServer.controllers.interceptors.auth.impl.AuthorizationHeaderBasedHttpAuthenticationScheme
getAllowedProtocols, getForcedProtocols, processAuthenticationRequest
-
Methods inherited from class jetbrains.buildServer.controllers.interceptors.auth.HttpAuthenticationSchemeAdapter
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
-
AgentHttpAuthenticationScheme
public AgentHttpAuthenticationScheme(@NotNull RunningBuildsManager runningBuildsManager)
-
-
Method Detail
-
doGetName
@NotNull protected String doGetName()
- Specified by:
doGetNamein classHttpAuthenticationSchemeAdapter
-
checkCredentials
@NotNull protected HttpAuthenticationResult checkCredentials(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response, @NotNull SimpleCredentials credentials, @NotNull Map<String,String> properties) throws IOException
- Specified by:
checkCredentialsin classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>- Throws:
IOException
-
isForcible
protected boolean isForcible()
- Specified by:
isForciblein classAuthorizationHeaderBasedHttpAuthenticationScheme<SimpleCredentials>
-
-