Class ProtocolBasedHttpAuthenticationSchemeAdapter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
-
- jetbrains.buildServer.controllers.interceptors.auth.HttpAuthenticationSchemeAdapter
-
- jetbrains.buildServer.controllers.interceptors.auth.ProtocolBasedHttpAuthenticationSchemeAdapter
-
- All Implemented Interfaces:
HttpAuthenticationProtocolsProvider
,HttpAuthenticationScheme
,ProtocolBasedHttpAuthenticationScheme
,AuthModuleType
public abstract class ProtocolBasedHttpAuthenticationSchemeAdapter extends HttpAuthenticationSchemeAdapter implements ProtocolBasedHttpAuthenticationScheme
Adapter forProtocolBasedHttpAuthenticationSchemeAdapter
.- Since:
- 7.1
-
-
Constructor Summary
Constructors Constructor Description ProtocolBasedHttpAuthenticationSchemeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<HttpAuthenticationProtocol>
getAllowedProtocols(javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.String> properties)
Returns all authentication protocols those are supported for the specified HTTP request.java.util.Set<HttpAuthenticationProtocol>
getForcedProtocols(javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.String> properties)
Returns protocols which are used to force authentication when user is not authenticated.-
Methods inherited from class jetbrains.buildServer.controllers.interceptors.auth.HttpAuthenticationSchemeAdapter
doGetName, getName, processAuthenticationRequest, 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
processAuthenticationRequest, shouldSkip2FA
-
-
-
-
Method Detail
-
getAllowedProtocols
@NotNull public java.util.Set<HttpAuthenticationProtocol> getAllowedProtocols(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull java.util.Map<java.lang.String,java.lang.String> properties)
Description copied from interface:HttpAuthenticationProtocolsProvider
Returns all authentication protocols those are supported for the specified HTTP request.- Specified by:
getAllowedProtocols
in interfaceHttpAuthenticationProtocolsProvider
- Parameters:
request
- requestproperties
- properties from config file- Returns:
- allowed protocols
-
getForcedProtocols
@NotNull public java.util.Set<HttpAuthenticationProtocol> getForcedProtocols(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull java.util.Map<java.lang.String,java.lang.String> properties)
Description copied from interface:HttpAuthenticationProtocolsProvider
Returns protocols which are used to force authentication when user is not authenticated.- Specified by:
getForcedProtocols
in interfaceHttpAuthenticationProtocolsProvider
- Parameters:
request
- requestproperties
- properties from config file- Returns:
- forced protocols
-
-