org.jboss.security
Interface SubjectFactory


public interface SubjectFactory

This interface represents a factory for Subjects. Implementations are responsible for creating and populating a Subject object with the relevant information.

Author:
Stefan Guilhen

Method Summary
 Subject createSubject()
           The Subject factory method.
 

Method Detail

createSubject

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.

Returns:
a reference to the constructed Subject object.


Copyright © 2008 JBoss Inc.. All Rights Reserved.