|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubjectFactory
A SubjectFactory
is responsible for constructing Subject
instances as needed.
Method Summary | |
---|---|
Subject |
createSubject(SubjectContext context)
Creates a new Subject instance reflecting the state of the specified contextual data. |
Method Detail |
---|
Subject createSubject(SubjectContext context)
Subject
instance and its contents can vary based on
environment.
Any data supported by Shiro core will be accessible by one of the SubjectContext
's get*
or resolve*
methods. All other data is available as map attribute
s.
context
- the contextual data to be used by the implementation to construct an appropriate Subject
instance.
Subject
instance created based on the specified context.SubjectContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |