Class SpringSecurityUserProvider

  • All Implemented Interfaces:
    org.togglz.core.user.UserProvider

    public class SpringSecurityUserProvider
    extends Object
    implements org.togglz.core.user.UserProvider
    • Constructor Detail

      • SpringSecurityUserProvider

        public SpringSecurityUserProvider​(String featureAdminAuthority)
    • Method Detail

      • getCurrentUser

        public org.togglz.core.user.FeatureUser getCurrentUser()
        Specified by:
        getCurrentUser in interface org.togglz.core.user.UserProvider
      • createAuthentication

        public static org.springframework.security.core.Authentication createAuthentication()
      • isFeatureAdmin

        protected boolean isFeatureAdmin​(Set<String> authorities)