Class PropertyUserStoreManager

  • All Implemented Interfaces:
    LifeCycle

    public class PropertyUserStoreManager
    extends AbstractLifeCycle
    PropertyUserStoreManager Maintains a map of PropertyUserStores, keyed off the location of the property file containing the authentication and authorization information. This class is used to enable the PropertyUserStores to be cached and shared. This is essential for the PropertyFileLoginModules, whose lifecycle is controlled by the JAAS api and instantiated afresh whenever a user needs to be authenticated. Without this class, every PropertyFileLoginModule instantiation would re-read and reload in all the user information just to authenticate a single user.
    • Field Detail

      • LOG

        private static final Logger LOG
      • _propertyUserStores

        private java.util.Map<java.lang.String,​PropertyUserStore> _propertyUserStores
        Map of user authentication and authorization information loaded in from a property file. The map is keyed off the location of the file.
    • Constructor Detail

      • PropertyUserStoreManager

        public PropertyUserStoreManager()