JDK-8020160 : LSP: rename LocalSecurityPolicy (LSP) to DeploymentRuleSet (DRS)
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7u40
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-07-09
  • Updated: 2014-02-12
  • Resolved: 2013-07-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40 b34Fixed 8Fixed
Description
we need to rename Local Security Policy to Deployment Rule Set

The full feature name is "Deployment Rule Set", or "DRS" for short.
If localization changes are too tight on space for the full text please use "Deployment Rules" in the translation.

The JAR file should be called DeploymentRuleSet.jar
Comments
verified using 740-b42
09-09-2013

SQE-OK to get this issue fix for 7u40
15-07-2013

=================== *** note: The existing name "policy.xml" will be allowed in 7u40 within the DeploymentRuleSet.jar, and the existing top level element "policy" will be allowed in xml file as well. This is to avoid breaking existing tests. should we also allow looking for policy.jar if DeploymentRuleSet.jar is not there ? ================== We (SQE) suggest not to allow any "old" mechanism since it does not make sense to end users. Things working for LSP does not guarantee any thing working for DRS, If somehow some LSP still left in our SQE ws, we won't be able to spot it if the "compatibility" is provided, which is something we don't want. So please remove the old LSP support at all ASAP.
15-07-2013

we will be changing the name of a lot of things: 1.) UI Strings (if there is not another translation of 7u40, all these would show as the translation of the old strings) 2.) all related trace statements 3.) the name of the jar file: policy.jar ---> DeploymentRuleSet.jar 4.) the name of the policy file within the jar: policy.xml ---> ruleset.xml ***see note 5.) The name of the top level xml element : policy ---> ruleset ***see note 6.) The names of various methods 7.) the names of various source files 8.) The package name : com.sujn.deploy.policy ---> com.sun.deployment.ruleset *** note: The existing name "policy.xml" will be allowed in 7u40 within the DeploymentRuleSet.jar, and the existing top level element "policy" will be allowed in xml file as well. This is to avoid breaking existing tests. should we also allow looking for policy.jar if DeploymentRuleSet.jar is not there ?
11-07-2013