Package | Description |
---|---|
org.intellimate.izou.security | |
org.intellimate.izou.security.exceptions |
Modifier and Type | Method and Description |
---|---|
protected <X extends IzouPermissionException> |
PermissionModule.registerOrThrow(AddOnModel addOn,
java.util.function.Supplier<X> exceptionSupplier,
java.util.function.Function<ro.fortsoft.pf4j.PluginDescriptor,Boolean> checkPermission)
registers the addon if checkPermission returns true, else throws the exception provided by the exceptionSupplier.
|
Modifier and Type | Method and Description |
---|---|
void |
FilePermissionModule.checkPermission(Permission permission,
AddOnModel addon)
Checks if the given addOn is allowed to access the requested service and registers them if not yet registered.
|
void |
PermissionManager.checkPermission(Permission perm,
AddOnModel addOnModel)
checks the permission
|
void |
RootPermission.checkPermission(Permission permission,
AddOnModel addon)
Checks if the given addOn is allowed to access the requested service and registers them if not yet registered.
|
void |
SocketPermissionModule.checkPermission(Permission permission,
AddOnModel addon)
Checks if the given addOn is allowed to access the requested service and registers them if not yet registered.
|
Modifier and Type | Class and Description |
---|---|
class |
IzouSocketPermissionException
Created by julianbrendl on 5/9/15.
|
class |
IzouSoundPermissionException
The IzouSoundPermissionException is thrown when sound is attempted to be played without permission.
|
Copyright © 2016. All rights reserved.