Package org.togglz.spring.security
Class SpringSecurityUserProvider
java.lang.Object
org.togglz.spring.security.SpringSecurityUserProvider
- All Implemented Interfaces:
org.togglz.core.user.UserProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.core.Authenticationorg.togglz.core.user.FeatureUserprotected booleanisFeatureAdmin(Set<String> authorities)
-
Field Details
-
USER_ATTRIBUTE_ROLES
- See Also:
-
-
Constructor Details
-
SpringSecurityUserProvider
-
-
Method Details
-
getCurrentUser
public org.togglz.core.user.FeatureUser getCurrentUser()- Specified by:
getCurrentUserin interfaceorg.togglz.core.user.UserProvider
-
createAuthentication
public static org.springframework.security.core.Authentication createAuthentication() -
isFeatureAdmin
-