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 classDefaultLoginModuleDescriptor.ExtensionParameter
-
Constructor Summary
Constructors Constructor Description DefaultLoginModuleDescriptor(LoginConfiguration loginConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(String name, String defaultValue, String jspPath)PositionConstraintgetConstraint()Constraint to be respected during objects sorting.Map<String,String>getDefaultProperties()StringgetDescription()Returns description of the authentication module to show in the UIStringgetDisplayName()Returns name of the authentication module to show in the UIStringgetEditPropertiesJspFilePath()List<DefaultLoginModuleDescriptor.ExtensionParameter>getExtensionParameters()Class<? extends LoginModule>getLoginModuleClass()StringgetName()-
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:
getNamein interfaceAuthModuleType- Returns:
- unique identificator (case-insensitive)
-
getLoginModuleClass
@NotNull public Class<? extends LoginModule> getLoginModuleClass()
- Specified by:
getLoginModuleClassin interfaceLoginModuleDescriptor
-
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
-
getEditPropertiesJspFilePath
@Nullable public String getEditPropertiesJspFilePath()
- Specified by:
getEditPropertiesJspFilePathin interfaceAuthModuleType- Overrides:
getEditPropertiesJspFilePathin 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:
getDefaultPropertiesin interfaceAuthModuleType- Overrides:
getDefaultPropertiesin classAuthModuleTypeAdapter- Returns:
- default properties for this authentication module
-
getExtensionParameters
@NotNull public List<DefaultLoginModuleDescriptor.ExtensionParameter> getExtensionParameters()
-
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAwareConstraint to be respected during objects sorting.- Specified by:
getConstraintin interfacePositionConstraintAware- Returns:
- position constraint
-
-