public class SpringSecurityUserProvider extends Object implements org.togglz.core.user.UserProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_ATTRIBUTE_ROLES |
| Constructor and Description |
|---|
SpringSecurityUserProvider(String featureAdminAuthority) |
| Modifier and Type | Method and Description |
|---|---|
org.togglz.core.user.FeatureUser |
getCurrentUser() |
protected String |
getUserName(org.springframework.security.core.Authentication authentication) |
protected boolean |
isFeatureAdmin(org.springframework.security.core.Authentication authentication,
Set<String> authorities) |
public static final String USER_ATTRIBUTE_ROLES
public SpringSecurityUserProvider(String featureAdminAuthority)
public org.togglz.core.user.FeatureUser getCurrentUser()
getCurrentUser in interface org.togglz.core.user.UserProviderprotected boolean isFeatureAdmin(org.springframework.security.core.Authentication authentication,
Set<String> authorities)
protected String getUserName(org.springframework.security.core.Authentication authentication)
Copyright © 2017. All Rights Reserved.