Package org.jboss.security
Interface SubjectFactory
-
- All Known Implementing Classes:
JBossSecuritySubjectFactory
public interface SubjectFactoryThis interface represents a factory for
Subjects. Implementations are responsible for creating and populating aSubjectobject with the relevant information.- Author:
- Stefan Guilhen, Anil.Saldhana@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubjectcreateSubject()TheSubjectfactory method.SubjectcreateSubject(String securityDomain)Create a subject given the security domain name
-
-
-
Method Detail
-
createSubject
Subject createSubject()
The
Subjectfactory method. Implementations will construct theSubjectobject and insert all relevant information like credentials, roles, etc into the created object. Note: The Security Domain of "other" is assumed- Returns:
- a reference to the constructed
Subjectobject.
-
-