javax.security.auth
Class SubjectDomainCombiner
java.lang.Object
javax.security.auth.SubjectDomainCombiner
- All Implemented Interfaces:
- DomainCombiner
public class SubjectDomainCombiner
- extends Object
- implements DomainCombiner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubjectDomainCombiner
public SubjectDomainCombiner(Subject subject)
combine
public ProtectionDomain[] combine(ProtectionDomain[] current,
ProtectionDomain[] assigned)
- Description copied from interface:
DomainCombiner
- Combines the current ProtectionDomains of the Thread with new
ProtectionDomains.
- Specified by:
combine
in interface DomainCombiner
- Parameters:
current
- - the ProtectionDomains for the current thread.assigned
- - ProtectionsDomains to add
- Returns:
- a new array of all the ProtectionDomains
getSubject
public Subject getSubject()