Class SpringSecurityUserDaoImpl

    • Constructor Detail

      • SpringSecurityUserDaoImpl

        public SpringSecurityUserDaoImpl()
        Instantiates a new spring security user DAO implementation.
    • Method Detail

      • getAuthority

        protected org.springframework.security.core.GrantedAuthority getAuthority​(java.lang.String role)
        Gets the authority.
        Parameters:
        role - the role
        Returns:
        the authority
      • getAuthoritiesByUsername

        protected java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthoritiesByUsername​(java.lang.String username)
        Gets the authorities by username.
        Parameters:
        username - the username
        Returns:
        the authorities by username
      • setUsersConfigurationFile

        public void setUsersConfigurationFile​(java.lang.String usersConfigurationFile)
        Sets the users configuration file.
        Parameters:
        usersConfigurationFile - the new users configuration file
      • getUsersConfigurationFile

        public java.lang.String getUsersConfigurationFile()
        Gets the users configuration file.
        Returns:
        the users configuration file
      • getUsersLastModified

        public long getUsersLastModified()
        Gets the users last modified.
        Returns:
        the users last modified
      • getUserManager

        public UserManager getUserManager()
        Gets the user manager.
        Returns:
        the user manager
      • setUserManager

        public void setUserManager​(UserManager mgr)
        Sets the user manager.
        Parameters:
        mgr - the new user manager
      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean