Class SpringSecurityUserProvider

java.lang.Object
org.togglz.spring.security.SpringSecurityUserProvider
All Implemented Interfaces:
org.togglz.core.user.UserProvider

public class SpringSecurityUserProvider extends Object implements org.togglz.core.user.UserProvider
  • Field Details

  • Constructor Details

    • SpringSecurityUserProvider

      public SpringSecurityUserProvider(String featureAdminAuthority)
  • Method Details

    • 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)