Class DefaultLoginModuleDescriptor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
-
- jetbrains.buildServer.serverSide.auth.LoginModuleDescriptorAdapter
-
- jetbrains.buildServer.serverSide.impl.auth.DefaultLoginModuleDescriptor
-
- All Implemented Interfaces:
AuthModuleType
,FirstInPositionAwareLoginModuleDescriptor
,LoginModuleDescriptor
,PositionAware
,PositionConstraintAware
public class DefaultLoginModuleDescriptor extends LoginModuleDescriptorAdapter implements FirstInPositionAwareLoginModuleDescriptor
- Author:
- Pavel.Sher Date: 11.08.2006
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultLoginModuleDescriptor.ExtensionParameter
-
Constructor Summary
Constructors Constructor Description DefaultLoginModuleDescriptor(LoginConfiguration loginConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(String name, String defaultValue, String jspPath)
PositionConstraint
getConstraint()
Constraint to be respected during objects sorting.Map<String,String>
getDefaultProperties()
String
getDescription()
Returns description of the authentication module to show in the UIString
getDisplayName()
Returns name of the authentication module to show in the UIString
getEditPropertiesJspFilePath()
List<DefaultLoginModuleDescriptor.ExtensionParameter>
getExtensionParameters()
Class<? extends LoginModule>
getLoginModuleClass()
String
getName()
-
Methods inherited from class jetbrains.buildServer.serverSide.auth.LoginModuleDescriptorAdapter
getJAASOptions, getOptions, getTextForLoginPage, validate
-
Methods inherited from class jetbrains.buildServer.serverSide.auth.AuthModuleTypeAdapter
describeProperties, 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, isMultipleInstancesAllowed
-
Methods inherited from interface jetbrains.buildServer.serverSide.auth.FirstInPositionAwareLoginModuleDescriptor
getOrderId
-
-
-
-
Constructor Detail
-
DefaultLoginModuleDescriptor
public DefaultLoginModuleDescriptor(@NotNull LoginConfiguration loginConfiguration)
-
-
Method Detail
-
getName
@NotNull public String getName()
- Specified by:
getName
in interfaceAuthModuleType
- Returns:
- unique identificator (case-insensitive)
-
getLoginModuleClass
@NotNull public Class<? extends LoginModule> getLoginModuleClass()
- Specified by:
getLoginModuleClass
in interfaceLoginModuleDescriptor
-
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
-
getDescription
@NotNull public String getDescription()
Description copied from interface:AuthModuleType
Returns description of the authentication module to show in the UI- Specified by:
getDescription
in interfaceAuthModuleType
- Overrides:
getDescription
in classAuthModuleTypeAdapter
- Returns:
- description of the authentication module to show in the UI
-
getEditPropertiesJspFilePath
@Nullable public String getEditPropertiesJspFilePath()
- Specified by:
getEditPropertiesJspFilePath
in interfaceAuthModuleType
- Overrides:
getEditPropertiesJspFilePath
in classAuthModuleTypeAdapter
- Returns:
- path to JSP file to edit properties of this authentication module or null if authentication module has no properties
-
getDefaultProperties
@NotNull public Map<String,String> getDefaultProperties()
- Specified by:
getDefaultProperties
in interfaceAuthModuleType
- Overrides:
getDefaultProperties
in classAuthModuleTypeAdapter
- Returns:
- default properties for this authentication module
-
getExtensionParameters
@NotNull public List<DefaultLoginModuleDescriptor.ExtensionParameter> getExtensionParameters()
-
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAware
Constraint to be respected during objects sorting.- Specified by:
getConstraint
in interfacePositionConstraintAware
- Returns:
- position constraint
-
-