com.sun.jmx.remote.opt.security
Class JMXSubjectDomainCombiner

java.lang.Object
  extended by javax.security.auth.SubjectDomainCombiner
      extended by com.sun.jmx.remote.opt.security.JMXSubjectDomainCombiner
All Implemented Interfaces:
DomainCombiner

public class JMXSubjectDomainCombiner
extends SubjectDomainCombiner

This class represents an extension to the SubjectDomainCombiner and is used to add a new ProtectionDomain, comprised of a null codesource/signers and an empty permission set, to the access control context with which this combiner is combined.

When the combine(java.security.ProtectionDomain[], java.security.ProtectionDomain[]) method is called the ProtectionDomain is augmented with the permissions granted to the set of principals present in the supplied Subject.


Constructor Summary
JMXSubjectDomainCombiner(Subject s)
           
 
Method Summary
 ProtectionDomain[] combine(ProtectionDomain[] current, ProtectionDomain[] assigned)
           
 
Methods inherited from class javax.security.auth.SubjectDomainCombiner
getSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXSubjectDomainCombiner

public JMXSubjectDomainCombiner(Subject s)
Method Detail

combine

public ProtectionDomain[] combine(ProtectionDomain[] current,
                                  ProtectionDomain[] assigned)
Specified by:
combine in interface DomainCombiner
Overrides:
combine in class SubjectDomainCombiner


Copyright © 2014 Terracotta, Inc.. All rights reserved.