SubjectDomainCombiner
Stay organized with collections
Save and categorize content based on your preferences.
Legacy security code; do not use.
Public Constructor Summary
Inherited Method Summary
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals( Object obj)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait(long timeout, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long timeout)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
Public Constructors
public
SubjectDomainCombiner
(Subject subject)
Public Methods
Parameters
currentDomains |
|
assignedDomains |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003e\u003ccode\u003eSubjectDomainCombiner\u003c/code\u003e is a legacy security class and should not be used in new code.\u003c/p\u003e\n"],["\u003cp\u003eIt implements the \u003ccode\u003eDomainCombiner\u003c/code\u003e interface and provides a way to combine protection domains.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor that takes a \u003ccode\u003eSubject\u003c/code\u003e object as an argument.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSubjectDomainCombiner\u003c/code\u003e includes methods for combining protection domains (\u003ccode\u003ecombine\u003c/code\u003e) and retrieving the associated subject (\u003ccode\u003egetSubject\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,["public class **SubjectDomainCombiner** extends [Object](../../../../reference/java/lang/Object.html) \nimplements [DomainCombiner](../../../../reference/java/security/DomainCombiner.html) \nLegacy security code; do not use. \n\nPublic Constructor Summary\n\n|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [SubjectDomainCombiner](../../../../reference/javax/security/auth/SubjectDomainCombiner.html#SubjectDomainCombiner(javax.security.auth.Subject))([Subject](../../../../reference/javax/security/auth/Subject.html) subject) |\n\nPublic Method Summary\n\n|-----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html) | [combine](../../../../reference/javax/security/auth/SubjectDomainCombiner.html#combine(java.security.ProtectionDomain[],%20java.security.ProtectionDomain[]))([ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html) currentDomains, [ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html) assignedDomains) |\n| [Subject](../../../../reference/javax/security/auth/Subject.html) | [getSubject](../../../../reference/javax/security/auth/SubjectDomainCombiner.html#getSubject())() |\n\nInherited Method Summary \nFrom class [java.lang.Object](../../../../reference/java/lang/Object.html) \n\n|----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Object](../../../../reference/java/lang/Object.html) | [clone](../../../../reference/java/lang/Object.html#clone())() Creates and returns a copy of this `Object`. |\n| boolean | [equals](../../../../reference/java/lang/Object.html#equals(java.lang.Object))([Object](../../../../reference/java/lang/Object.html) obj) Compares this instance with the specified object and indicates if they are equal. |\n| void | [finalize](../../../../reference/java/lang/Object.html#finalize())() Invoked when the garbage collector has detected that this instance is no longer reachable. |\n| final [Class](../../../../reference/java/lang/Class.html)\\\u003c?\\\u003e | [getClass](../../../../reference/java/lang/Object.html#getClass())() Returns the unique instance of [Class](../../../../reference/java/lang/Class.html) that represents this object's class. |\n| int | [hashCode](../../../../reference/java/lang/Object.html#hashCode())() Returns an integer hash code for this object. |\n| final void | [notify](../../../../reference/java/lang/Object.html#notify())() Causes a thread which is waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |\n| final void | [notifyAll](../../../../reference/java/lang/Object.html#notifyAll())() Causes all threads which are waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |\n| [String](../../../../reference/java/lang/String.html) | [toString](../../../../reference/java/lang/Object.html#toString())() Returns a string containing a concise, human-readable description of this object. |\n| final void | [wait](../../../../reference/java/lang/Object.html#wait(long,%20int))(long timeout, int nanos) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |\n| final void | [wait](../../../../reference/java/lang/Object.html#wait(long))(long timeout) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |\n| final void | [wait](../../../../reference/java/lang/Object.html#wait())() Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object. |\n\nFrom interface [java.security.DomainCombiner](../../../../reference/java/security/DomainCombiner.html) \n\n|--------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html) | [combine](../../../../reference/java/security/DomainCombiner.html#combine(java.security.ProtectionDomain[],%20java.security.ProtectionDomain[]))([ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html) currentDomains, [ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html) assignedDomains) |\n\nPublic Constructors \n\npublic\n**SubjectDomainCombiner**\n([Subject](../../../../reference/javax/security/auth/Subject.html) subject) \n\u003cbr /\u003e\n\nParameters\n\n| subject | |\n|---------|---|\n\nPublic Methods \n\npublic [ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html)\n**combine**\n([ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html) currentDomains, [ProtectionDomain\\[\\]](../../../../reference/java/security/ProtectionDomain.html) assignedDomains) \n\u003cbr /\u003e\n\nParameters\n\n| currentDomains | |\n| assignedDomains | |\n|-----------------|---|\n\npublic [Subject](../../../../reference/javax/security/auth/Subject.html)\n**getSubject**\n() \n\u003cbr /\u003e"]]