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 and Description |
|---|
JMXSubjectDomainCombiner(Subject s) |
| Modifier and Type | Method and Description |
|---|---|
ProtectionDomain[] |
combine(ProtectionDomain[] current,
ProtectionDomain[] assigned) |
getSubjectpublic JMXSubjectDomainCombiner(Subject s)
public ProtectionDomain[] combine(ProtectionDomain[] current, ProtectionDomain[] assigned)
combine in interface DomainCombinercombine in class SubjectDomainCombinerCopyright © 2019 Terracotta, Inc.. All rights reserved.