public interface SubjectFactory
This interface represents a factory for Subject
s. Implementations are responsible for creating and
populating a Subject
object with the relevant information.
Modifier and Type | Method and Description |
---|---|
Subject |
createSubject()
The
Subject factory method. |
Subject |
createSubject(String securityDomain)
Create a subject given the security domain name
|
Subject createSubject()
The Subject
factory method.
Implementations will construct the Subject
object and insert all
relevant information like credentials, roles, etc into the created object.
Note: The Security Domain of "other" is assumed
Subject
object.Copyright © 2019 JBoss by Red Hat. All rights reserved.