Class TokenBasedLoginModuleDescriptor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
-
- jetbrains.buildServer.serverSide.auth.LoginModuleDescriptorAdapter
-
- jetbrains.buildServer.serverSide.impl.auth.TokenBasedLoginModuleDescriptor
-
- All Implemented Interfaces:
AuthModuleType,FirstInPositionAwareLoginModuleDescriptor,LoginModuleDescriptor,PositionAware,PositionConstraintAware
public class TokenBasedLoginModuleDescriptor extends LoginModuleDescriptorAdapter implements FirstInPositionAwareLoginModuleDescriptor
- Author:
- Dmitrii Bogdanov
-
-
Field Summary
Fields Modifier and Type Field Description static StringTOKEN_AUTH
-
Constructor Summary
Constructors Constructor Description TokenBasedLoginModuleDescriptor(LoginConfiguration loginConfiguration, TokenAuthenticationModel tokenAuthenticationModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PositionConstraintgetConstraint()Constraint to be respected during objects sorting.StringgetDescription()Returns description of the authentication module to show in the UIStringgetDisplayName()Returns name of the authentication module to show in the UIMap<String,?>getJAASOptions(Map<String,String> properties)Options to pass to JAAS login module.Class<? extends LoginModule>getLoginModuleClass()StringgetName()-
Methods inherited from class jetbrains.buildServer.serverSide.auth.LoginModuleDescriptorAdapter
getOptions, getTextForLoginPage, validate
-
Methods inherited from class jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
describeProperties, getDefaultProperties, 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, getEditPropertiesJspFilePath, isMultipleInstancesAllowed
-
Methods inherited from interface jetbrains.buildServer.serverSide.auth.FirstInPositionAwareLoginModuleDescriptor
getOrderId
-
-
-
-
Field Detail
-
TOKEN_AUTH
public static final String TOKEN_AUTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TokenBasedLoginModuleDescriptor
public TokenBasedLoginModuleDescriptor(@NotNull LoginConfiguration loginConfiguration, @NotNull TokenAuthenticationModel tokenAuthenticationModel)
-
-
Method Detail
-
getLoginModuleClass
public Class<? extends LoginModule> getLoginModuleClass()
- Specified by:
getLoginModuleClassin interfaceLoginModuleDescriptor
-
getName
@NotNull public String getName()
- Specified by:
getNamein interfaceAuthModuleType- Returns:
- unique identificator (case-insensitive)
-
getDisplayName
@NotNull public String getDisplayName()
Description copied from interface:AuthModuleTypeReturns name of the authentication module to show in the UI- Specified by:
getDisplayNamein interfaceAuthModuleType- Overrides:
getDisplayNamein classAuthModuleTypeAdapter- Returns:
- name of the authentication module to show in the UI
-
getDescription
@NotNull public String getDescription()
Description copied from interface:AuthModuleTypeReturns description of the authentication module to show in the UI- Specified by:
getDescriptionin interfaceAuthModuleType- Overrides:
getDescriptionin classAuthModuleTypeAdapter- Returns:
- description of the authentication module to show in the UI
-
getJAASOptions
@Nullable public Map<String,?> getJAASOptions(@NotNull Map<String,String> properties)
Description copied from interface:LoginModuleDescriptorOptions to pass to JAAS login module.- Specified by:
getJAASOptionsin interfaceLoginModuleDescriptor- Overrides:
getJAASOptionsin classLoginModuleDescriptorAdapter- Parameters:
properties- authentication module options- Returns:
- Options to pass to JAAS login module
-
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAwareConstraint to be respected during objects sorting.- Specified by:
getConstraintin interfacePositionConstraintAware- Returns:
- position constraint
-
-