Class SimpleUsersLoginModule

    • Field Detail

      • invalidProperties

        protected static Set<String> invalidProperties
    • Constructor Detail

      • SimpleUsersLoginModule

        public SimpleUsersLoginModule()
    • Method Detail

      • createUsers

        protected Properties createUsers​(Map<String,​?> options)
                                  throws IOException
        Description copied from class: UsersRolesLoginModule
        A hook to allow subclasses to create the users Properties map. This implementation simply calls loadUsers() and returns the users ivar. Subclasses can override to obtain the users Properties map in a different way.
        Overrides:
        createUsers in class UsersRolesLoginModule
        Parameters:
        options - - the login module options passed to initialize
        Returns:
        Properties map used for the username/password mapping.
        Throws:
        IOException - - thrown on failure to load the properties
      • isValidEntry

        protected boolean isValidEntry​(String key)
      • checkOptions

        protected void checkOptions()
        This login module cannot participate in the checking of valid options in AbstractServerLoginModule. Hence this override to prevent false alarms
        Overrides:
        checkOptions in class AbstractServerLoginModule