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
- Direct Known Subclasses:
AuthorizationHeaderBasedHttpAuthenticationScheme
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 Set<HttpAuthenticationProtocol>getAllowedProtocols(javax.servlet.http.HttpServletRequest request, Map<String,String> properties)Returns all authentication protocols those are supported for the specified HTTP request.Set<HttpAuthenticationProtocol>getForcedProtocols(javax.servlet.http.HttpServletRequest request, Map<String,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 Set<HttpAuthenticationProtocol> getAllowedProtocols(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull Map<String,String> properties)
Description copied from interface:HttpAuthenticationProtocolsProviderReturns all authentication protocols those are supported for the specified HTTP request.- Specified by:
getAllowedProtocolsin interfaceHttpAuthenticationProtocolsProvider- Parameters:
request- requestproperties- properties from config file- Returns:
- allowed protocols
-
getForcedProtocols
@NotNull public Set<HttpAuthenticationProtocol> getForcedProtocols(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull Map<String,String> properties)
Description copied from interface:HttpAuthenticationProtocolsProviderReturns protocols which are used to force authentication when user is not authenticated.- Specified by:
getForcedProtocolsin interfaceHttpAuthenticationProtocolsProvider- Parameters:
request- requestproperties- properties from config file- Returns:
- forced protocols
-
-