public class JBossSecuritySubjectFactory extends Object implements SubjectFactory
Constructor and Description |
---|
JBossSecuritySubjectFactory() |
Modifier and Type | Method and Description |
---|---|
Subject |
createSubject()
The
Subject factory method. |
Subject |
createSubject(String securityDomainName)
Create a subject given the security domain name
|
void |
setSecurityManagement(ISecurityManagement securityManagement)
Sets the
ISecurityManagement implementation to be used. |
public Subject createSubject()
SubjectFactory
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
createSubject
in interface SubjectFactory
Subject
object.SubjectFactory.createSubject()
public Subject createSubject(String securityDomainName)
SubjectFactory
createSubject
in interface SubjectFactory
securityDomainName
- Name of the Security DomainSubjectFactory.createSubject(String)
public void setSecurityManagement(ISecurityManagement securityManagement)
ISecurityManagement
implementation to be used.
If this is not set, a default implementation will be used.securityManagement
- the concrete implementation to be usedCopyright © 2019 JBoss by Red Hat. All rights reserved.