Class LoginModuleDescriptorAdapter

    • Constructor Detail

      • LoginModuleDescriptorAdapter

        public LoginModuleDescriptorAdapter()
    • 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 interface LoginModuleDescriptor
        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 interface LoginModuleDescriptor
        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 interface LoginModuleDescriptor
        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 return null if no errors found.
        Specified by:
        validate in interface AuthModuleType
        Parameters:
        properties - properties
        Returns:
        the collection of errors.