Class PropertiesUsersLoginModule

    • Constructor Detail

      • PropertiesUsersLoginModule

        public PropertiesUsersLoginModule()
    • Method Detail

      • createRoles

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