Class SpecialUsersLoginModuleDescriptor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
-
- jetbrains.buildServer.serverSide.auth.LoginModuleDescriptorAdapter
-
- jetbrains.buildServer.serverSide.impl.auth.SpecialUsersLoginModuleDescriptor
-
- All Implemented Interfaces:
AuthModuleType
,LoginModuleDescriptor
,SystemAuthModuleType
public class SpecialUsersLoginModuleDescriptor extends LoginModuleDescriptorAdapter implements SystemAuthModuleType
- Author:
- Maxim.Manuylov Date: 30.11.12
-
-
Constructor Summary
Constructors Constructor Description SpecialUsersLoginModuleDescriptor(LoginConfiguration loginConfiguration, StartupContext startupContext, EventDispatcher<BuildServerListener> dispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
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()
String
getName()
-
Methods inherited from class jetbrains.buildServer.serverSide.auth.LoginModuleDescriptorAdapter
getOptions, getTextForLoginPage, validate
-
Methods inherited from class jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
describeProperties, getDefaultProperties, getDescription, 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, getEditPropertiesJspFilePath, isMultipleInstancesAllowed, validate
-
-
-
-
Constructor Detail
-
SpecialUsersLoginModuleDescriptor
public SpecialUsersLoginModuleDescriptor(@NotNull LoginConfiguration loginConfiguration, @NotNull StartupContext startupContext, @NotNull EventDispatcher<BuildServerListener> dispatcher)
-
-
Method Detail
-
getName
@NotNull public String getName()
- Specified by:
getName
in interfaceAuthModuleType
- Returns:
- unique identificator (case-insensitive)
-
getDisplayName
@NotNull public String getDisplayName()
Description copied from interface:AuthModuleType
Returns name of the authentication module to show in the UI- Specified by:
getDisplayName
in interfaceAuthModuleType
- Overrides:
getDisplayName
in classAuthModuleTypeAdapter
- Returns:
- name of the authentication module to show in the UI
-
getLoginModuleClass
@NotNull public Class<? extends LoginModule> getLoginModuleClass()
- Specified by:
getLoginModuleClass
in interfaceLoginModuleDescriptor
-
getJAASOptions
@Nullable public Map<String,?> getJAASOptions(@NotNull Map<String,String> properties)
Description copied from interface:LoginModuleDescriptor
Options to pass to JAAS login module.- Specified by:
getJAASOptions
in interfaceLoginModuleDescriptor
- Overrides:
getJAASOptions
in classLoginModuleDescriptorAdapter
- Parameters:
properties
- authentication module options- Returns:
- Options to pass to JAAS login module
-
-