Interface AuthModuleType

    • Method Detail

      • getName

        @NotNull
        String getName()
        Returns:
        unique identificator (case-insensitive)
      • getDisplayName

        @NotNull
        String getDisplayName()
        Returns name of the authentication module to show in the UI
        Returns:
        name of the authentication module to show in the UI
      • getDescription

        @NotNull
        String getDescription()
        Returns description of the authentication module to show in the UI
        Returns:
        description of the authentication module to show in the UI
      • isMultipleInstancesAllowed

        boolean isMultipleInstancesAllowed()
        Returns:
        true, if multiple instances of this authentication module are allowed, false otherwise
      • getDefaultProperties

        @NotNull
        Map<String,​String> getDefaultProperties()
        Returns:
        default properties for this authentication module
      • getEditPropertiesJspFilePath

        @Nullable
        String getEditPropertiesJspFilePath()
        Returns:
        path to JSP file to edit properties of this authentication module or null if authentication module has no properties
      • describeProperties

        @NotNull
        String describeProperties​(@NotNull
                                  Map<String,​String> properties)
        Returns description of the specified properties map to be shown in UI
        Parameters:
        properties - properties
        Returns:
        description of the specified properties map
      • validate

        @Nullable
        Collection<String> validate​(@NotNull
                                    Map<String,​String> properties)
        Validates the current login module settings and returns the set of errors if found. Should return null if no errors found.
        Parameters:
        properties - properties
        Returns:
        the collection of errors.
        Since:
        8.1