SubjectDomainCombiner

  • SubjectDomainCombiner is a legacy security class and should not be used in new code.

  • It implements the DomainCombiner interface and provides a way to combine protection domains.

  • The class has a constructor that takes a Subject object as an argument.

  • SubjectDomainCombiner includes methods for combining protection domains (combine) and retrieving the associated subject (getSubject).

public class SubjectDomainCombiner extends Object
implements DomainCombiner

Legacy security code; do not use.

Public Constructor Summary

Public Method Summary

ProtectionDomain[]
combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
Subject

Inherited Method Summary

Public Constructors

public SubjectDomainCombiner (Subject subject)

Parameters
subject

Public Methods

public ProtectionDomain[] combine (ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)

Parameters
currentDomains
assignedDomains

public Subject getSubject ()