public class DeltaSpikeUserProvider extends Object implements org.togglz.core.user.UserProvider
false. Overriding isFeatureAdmin(Identity) allows to change the
default behavior.| Constructor and Description |
|---|
DeltaSpikeUserProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.togglz.core.user.FeatureUser |
getCurrentUser() |
protected boolean |
isFeatureAdmin(org.apache.deltaspike.security.api.Identity identity)
Checks if the supplied user is a feature admin.
|
public org.togglz.core.user.FeatureUser getCurrentUser()
getCurrentUser in interface org.togglz.core.user.UserProviderprotected boolean isFeatureAdmin(org.apache.deltaspike.security.api.Identity identity)
false. Users can
overwrite this method to implement a different behavior.identity - the identity of the usertrue for feature admins, false otherwiseCopyright © 2012. All Rights Reserved.