Uses of Class
org.wicketstuff.security.hive.authorization.Permission
-
-
Uses of Permission in org.wicketstuff.security.hive
Methods in org.wicketstuff.security.hive that return types with arguments of type Permission Modifier and Type Method Description Set<Permission>BasicHive. getPermissions(Principal principal)Set<Permission>Hive. getPermissions(Principal principal)Returns a set ofPermissions, contained within the principal.Methods in org.wicketstuff.security.hive with parameters of type Permission Modifier and Type Method Description voidBasicHive. addPermission(Principal principal, Permission permission)Adds a new permission to a principal.protected BooleanBasicHive. cacheLookUp(Subject subject, Permission permission)Allows subclasses to retrieve previously cached results and thus speed up the check.protected BooleanSimpleCachingHive. cacheLookUp(Subject subject, Permission permission)protected voidBasicHive. cacheResult(Subject subject, Permission permission, boolean result)Allows subclasses to cache the result of a check and thus speed up this check the next time.protected voidSimpleCachingHive. cacheResult(Subject subject, Permission permission, boolean result)booleanBasicHive. containsPermission(Permission permission)booleanHive. containsPermission(Permission permission)Checks if this hive contains exactly the permission.Set<Principal>BasicHive. getPrincipals(Permission permission)Set<Principal>Hive. getPrincipals(Permission permission)Returns a set ofPrincipals, each containing this permission.booleanBasicHive. hasPermission(Subject subject, Permission permission)booleanHive. hasPermission(Subject subject, Permission permission)Checks if the subject has the exact permission, or if the permission is implied by any of the subjects principals.Method parameters in org.wicketstuff.security.hive with type arguments of type Permission Modifier and Type Method Description voidBasicHive. addPrincipal(Principal principal, Collection<Permission> permissions)Adds a new Principal to the hive. -
Uses of Permission in org.wicketstuff.security.hive.authorization
Methods in org.wicketstuff.security.hive.authorization with parameters of type Permission Modifier and Type Method Description abstract booleanPermission. implies(Permission permission)Check if this permission implies the specified permission. -
Uses of Permission in org.wicketstuff.security.hive.authorization.permissions
Subclasses of Permission in org.wicketstuff.security.hive.authorization.permissions Modifier and Type Class Description classActionPermissionBase class for any Permission that uses actions.classAllPermissionsPermission that implies all other permissions, when created with the "all" action.Methods in org.wicketstuff.security.hive.authorization.permissions with parameters of type Permission Modifier and Type Method Description booleanActionPermission. implies(Permission permission)Performs a logical and to see if this permission has at least all the actions as the other permission and thus if this permission implies the other permission.booleanAllPermissions. implies(Permission permission)Implies every other permission, but the other way around is not necessarily true. -
Uses of Permission in org.wicketstuff.security.hive.config
Methods in org.wicketstuff.security.hive.config with parameters of type Permission Modifier and Type Method Description protected voidPolicyFileHiveFactory. notifyPermission(int lineNr, Principal principal, Permission permission)Notifies when a permission is added to a principal.protected voidPolicyFileHiveFactory. skipIllegalPermission(int lineNr, Principal principal, Permission permission)Notifies of permissions located outside the { and }; block statements but after a valid principal was found.protected voidPolicyFileHiveFactory. skipPermission(int lineNr, Principal principal, Permission permission)Notifies of duplicate permissions for a principal.Method parameters in org.wicketstuff.security.hive.config with type arguments of type Permission Modifier and Type Method Description protected voidPolicyFileHiveFactory. notifyPermission(int lineNr, Class<? extends Permission> permissionClass, Class<?>[] args)Notifies when a Permission could not be created because no suitable constructor was found.protected voidPolicyFileHiveFactory. skipIllegalPrincipal(int lineNr, Principal principal, Set<Permission> permissions)Notifies when aPrincipalbegins at an illegal place in the file.protected voidPolicyFileHiveFactory. skipPermission(int lineNr, Class<? extends Permission> permissionClass, Object[] argValues, Exception e)Notified when a new instance of the permission could not be created.
-