Package com.smartfoxserver.v2.security
Interface PrivilegeManager
-
- All Known Implementing Classes:
SFSPrivilegeManager
public interface PrivilegeManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsPermissionProfile(short profileId)
boolean
containsPermissionProfile(java.lang.String profileName)
SFSPermissionProfile
getPermissionProfile(short profileId)
SFSPermissionProfile
getPermissionProfile(java.lang.String profileName)
boolean
isActive()
boolean
isFlagSet(User user, SystemPermission permission)
boolean
isRequestAllowed(User user, SystemRequest request)
void
removePermissionProfile(short profileId)
void
removePermissionProfile(java.lang.String profileName)
void
setActive(boolean flag)
void
setPermissionProfile(SFSPermissionProfile profile)
-
-
-
Method Detail
-
isActive
boolean isActive()
-
setActive
void setActive(boolean flag)
-
setPermissionProfile
void setPermissionProfile(SFSPermissionProfile profile)
-
removePermissionProfile
void removePermissionProfile(short profileId)
-
removePermissionProfile
void removePermissionProfile(java.lang.String profileName)
-
containsPermissionProfile
boolean containsPermissionProfile(short profileId)
-
containsPermissionProfile
boolean containsPermissionProfile(java.lang.String profileName)
-
getPermissionProfile
SFSPermissionProfile getPermissionProfile(short profileId)
-
getPermissionProfile
SFSPermissionProfile getPermissionProfile(java.lang.String profileName)
-
isRequestAllowed
boolean isRequestAllowed(User user, SystemRequest request)
-
isFlagSet
boolean isFlagSet(User user, SystemPermission permission)
-
-