Friday, 9 January 2015

Java 2 security with IBM WebSphere Portal Server 8.5

J2SE security allows you to set up individual policy files that control the privileges assigned to individual code sources. If the code does not have the required permissions and still tries to execute a protected operation, the Java Access Controller will throw a corresponding security exception. WebSphere® Application Server uses a specific set of policy files to set up Java 2 Security.

Default location and policy file
Protection scope
This is the root policy file that contains permissions for all the processes launched by WebSphere Application Server.
This policy file grants default permissions to all product servers.
This policy file grants default permissions for all of the product client containers and applets on a node.
This template is for the Service Provider Interface (SPI) or the third party resources that are embedded in the product. The default permission is
This policy grants default permissions (empty) to code contained in the shared library (Java library classes) to use in multiple product applications.
This policy grants default permissions to all enterprise applications running on this node in this cell.
This policy assigns permissions to a specific enterprise application, imbedded within EAR:/META-INF/was.policy.
This file can have a permission specification that is defined in the ra.xml file. The ra.xml file is embedded in the RAR file.

No comments:

Post a Comment