Package | Description |
---|---|
org.apache.river.api.security |
This package contains a scalable cache based security manager that parallelises
domain security checks.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
DefaultPolicyParser
This is a basic loader of policy files.
|
Modifier and Type | Field and Description |
---|---|
private PolicyParser |
ConcurrentPolicyFile.parser |
Modifier and Type | Method and Description |
---|---|
private static PermissionGrant[] |
ConcurrentPolicyFile.check(PolicyParser parser)
All exceptions are thrown by this method during construction,
to avoid a finalizer attack from an overriding class attempting
to avoid the construction guard, catching the exception then calling
refresh from the finalizer to instantiate a complete policy.
|
private static PermissionGrant[] |
ConcurrentPolicyFile.initialize(PolicyParser parser) |
Constructor and Description |
---|
ConcurrentPolicyFile(PolicyParser dpr,
Comparator<Permission> comp) |
ConcurrentPolicyFile(PolicyParser dpr,
Comparator<Permission> comp,
PermissionGrant[] grants)
Constructor to allow for custom policy providers, for example a database
policy provider, can make administration simpler than traditional
policy files.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.