Public Member Functions | |
JPolicy () | |
boolean | implies (ProtectionDomain domain, Permission permission) |
PermissionCollection | getPermissions (ProtectionDomain domain) |
PermissionCollection | getPermissions (CodeSource codeSource) |
void | refresh () |
Static Public Member Functions | |
JPolicy | getInstance () |
A replacement Policy object may accomplish this by delegating non-javax.security.jacc policy decisions to the corresponding default system Policy implementation class. A replacement Policy object that relies in this way on the corresponding default Policy implementation class must identify itself in its installation instructions as a "delegating Policy provider"
JOnAS uses delegating model
Definition at line 69 of file JPolicy.java.
|
Constructor : build a policy which manage JACC permissions The non-jacc permissions are delegated to the initial Policy class Definition at line 103 of file JPolicy.java. Referenced by org.objectweb.jonas_lib.security.jacc.JPolicy.getInstance(). |
|
Gets the unique instance of the JACC delegating policy provider
Definition at line 132 of file JPolicy.java. References org.objectweb.jonas_lib.security.jacc.JPolicy.JPolicy(). |
Here is the call graph for this function:
|
Evaluates the global policy and returns a PermissionCollection object specifying the set of permissions allowed for code from the specified code source.
Definition at line 312 of file JPolicy.java. |
|
Evaluates the global policy and returns a PermissionCollection object specifying the set of permissions allowed given the characteristics of the protection domain.
Definition at line 279 of file JPolicy.java. |
|
Evaluates the global policy for the permissions granted to the ProtectionDomain and tests whether the permission is granted.
Definition at line 156 of file JPolicy.java. References org.objectweb.jonas_lib.security.jacc.JPolicyConfiguration.getExcludedPermissions(), org.objectweb.jonas_lib.I18n.getMessage(), and org.objectweb.jonas_lib.security.jacc.JPolicyConfiguration.getUncheckedPermissions(). |
Here is the call graph for this function:
|
Refreshes/reloads the policy configuration. Definition at line 331 of file JPolicy.java. |