Package org.apache.shiro.cas
Class CasSubjectFactory
- java.lang.Object
-
- org.apache.shiro.mgt.DefaultSubjectFactory
-
- org.apache.shiro.web.mgt.DefaultWebSubjectFactory
-
- org.apache.shiro.cas.CasSubjectFactory
-
- All Implemented Interfaces:
SubjectFactory
@Deprecated public class CasSubjectFactory extends DefaultWebSubjectFactory
Deprecated.replaced with Shiro integration in buji-pac4j.Subject
implementation to be used in CAS-enabled applications.- Since:
- 1.2
- See Also:
- buji-pac4j
-
-
Constructor Summary
Constructors Constructor Description CasSubjectFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Subject
createSubject(SubjectContext context)
Deprecated.Creates a new Subject instance reflecting the state of the specified contextual data.-
Methods inherited from class org.apache.shiro.web.mgt.DefaultWebSubjectFactory
newSubjectInstance
-
Methods inherited from class org.apache.shiro.mgt.DefaultSubjectFactory
newSubjectInstance
-
-
-
-
Constructor Detail
-
CasSubjectFactory
public CasSubjectFactory()
Deprecated.
-
-
Method Detail
-
createSubject
public Subject createSubject(SubjectContext context)
Deprecated.Description copied from interface:SubjectFactory
Creates a new Subject instance reflecting the state of the specified contextual data. The data would be anything required to required to construct aSubject
instance and its contents can vary based on environment. Any data supported by Shiro core will be accessible by one of theSubjectContext
'sget*
orresolve*
methods. All other data is available as mapattribute
s.- Specified by:
createSubject
in interfaceSubjectFactory
- Overrides:
createSubject
in classDefaultWebSubjectFactory
- Parameters:
context
- the contextual data to be used by the implementation to construct an appropriateSubject
instance.- Returns:
- a
Subject
instance created based on the specified context. - See Also:
SubjectContext
-
-