bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/23916] New: java.security.AccessControlContext forget Sub


From: sgala at apache dot org
Subject: [Bug classpath/23916] New: java.security.AccessControlContext forget Subject in Subject.doAs* methods
Date: 16 Sep 2005 14:12:25 -0000

Subject.doAs* methods push a new AccessControlContext using a
SubjectDomainCombiner and then call AccessController.doPrivileged().

Inside the PrivilegedAction, nonetheless,
Subject.getSubject(AccessController.getContext()) is returning null

This is due to the fact that a new combiner is inserted in the pushed
AccessControlContext in VMAccessControlContext, while the given one should be 
used.

See the attached patch

-- 
           Summary: java.security.AccessControlContext forget Subject in
                    Subject.doAs* methods
           Product: classpath
           Version: 0.18
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sgala at apache dot org
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23916




reply via email to

[Prev in Thread] Current Thread [Next in Thread]