JDK-6995424 : Eliminate dependency to a deprecated API com.sun.security.auth.PolicyFile
Type:Bug
Component:security-libs
Sub-Component:java.security
Affected Version:7
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2010-10-27
Updated:2011-03-07
Resolved:2011-03-07
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.
javax.security.auth.SubjectDomainCombiner -> com.sun.security.auth.PolicyFile
This dependency was for compatibility when JAAS was integrated into 1.4. JAAS policy API is deprecated and we should eliminate this dependency.
Comments
EVALUATION
Changeset: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/951db417fc3c
Also, there is already an existing regression test for making sure a custom JAAS provider still works properly:
test/closed/javax/security/auth/SubjectDomainCombiner/CombineCodeGrants.java