public class RootPermission extends PermissionModule
log, main| Modifier and Type | Method and Description |
|---|---|
boolean |
canCheckPermission(Permission permission)
returns true if able to check permissions
|
void |
checkPermission(Permission permission,
AddOnModel addon)
Checks if the given addOn is allowed to access the requested service and registers them if not yet registered.
|
getSecurityManager, isRegistered, registerAddOn, registerOrThrowdebug, debug, error, error, fatal, fatal, getID, getMainclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisOwnerpublic boolean canCheckPermission(Permission permission)
canCheckPermission in class PermissionModulepermission - the permission to checkpublic void checkPermission(Permission permission, AddOnModel addon) throws IzouPermissionException
checkPermission in class PermissionModulepermission - the Permission to checkaddon - the identifiable to checkIzouPermissionException - thrown if the addOn is not allowed to access its requested serviceCopyright © 2016. All rights reserved.