Class LoginModuleDescriptorAdapter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
-
- jetbrains.buildServer.serverSide.auth.LoginModuleDescriptorAdapter
-
- All Implemented Interfaces:
AuthModuleType
,LoginModuleDescriptor
public abstract class LoginModuleDescriptorAdapter extends AuthModuleTypeAdapter implements LoginModuleDescriptor
Adapter forLoginModuleDescriptor
- Since:
- 8.0
-
-
Constructor Summary
Constructors Constructor Description LoginModuleDescriptorAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,?>
getJAASOptions(java.util.Map<java.lang.String,java.lang.String> properties)
Options to pass to JAAS login module.java.util.Map<java.lang.String,?>
getOptions()
Options to pass to JAAS login modulejava.lang.String
getTextForLoginPage()
Returns description to be shown on the login page unless it is overridden by user in server configuration.java.util.Collection<java.lang.String>
validate(java.util.Map<java.lang.String,java.lang.String> properties)
Validates the current login module settings and returns the set of errors if found.-
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
-
Methods inherited from interface jetbrains.buildServer.serverSide.auth.LoginModuleDescriptor
getLoginModuleClass
-
-
-
-
Method Detail
-
getOptions
@Nullable public java.util.Map<java.lang.String,?> getOptions()
Description copied from interface:LoginModuleDescriptor
Options to pass to JAAS login module- Specified by:
getOptions
in interfaceLoginModuleDescriptor
- Returns:
- Options to pass to JAAS login module
-
getJAASOptions
@Nullable public java.util.Map<java.lang.String,?> getJAASOptions(@NotNull java.util.Map<java.lang.String,java.lang.String> properties)
Description copied from interface:LoginModuleDescriptor
Options to pass to JAAS login module.- Specified by:
getJAASOptions
in interfaceLoginModuleDescriptor
- Parameters:
properties
- authentication module options- Returns:
- Options to pass to JAAS login module
-
getTextForLoginPage
@Nullable public java.lang.String getTextForLoginPage()
Description copied from interface:LoginModuleDescriptor
Returns description to be shown on the login page unless it is overridden by user in server configuration.- Specified by:
getTextForLoginPage
in interfaceLoginModuleDescriptor
- Returns:
- description to be shown on the login page unless it is overridden by user in server configuration
-
validate
@Nullable public java.util.Collection<java.lang.String> validate(@NotNull java.util.Map<java.lang.String,java.lang.String> properties)
Description copied from interface:AuthModuleType
Validates the current login module settings and returns the set of errors if found. Should returnnull
if no errors found.- Specified by:
validate
in interfaceAuthModuleType
- Parameters:
properties
- properties- Returns:
- the collection of errors.
-
-