United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6995424 Eliminate dependency to a deprecated API com.sun.security.auth.PolicyFile
JDK-6995424 : Eliminate dependency to a deprecated API com.sun.security.auth.PolicyFile

Details
Type:
Bug
Submit Date:
2010-10-27
Status:
Closed
Updated Date:
2011-03-07
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
security-libs
OS:
generic
Sub-Component:
java.security
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports

Sub Tasks

Description
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
                                     
2010-11-22



Hardware and Software, Engineered to Work Together