@Deprecated public class CasSubjectFactory extends DefaultWebSubjectFactory
Subject
implementation to be used in CAS-enabled applications.Constructor and Description |
---|
CasSubjectFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Subject |
createSubject(SubjectContext context)
Deprecated.
Creates a new Subject instance reflecting the state of the specified contextual data.
|
newSubjectInstance
newSubjectInstance
public CasSubjectFactory()
public Subject createSubject(SubjectContext context)
SubjectFactory
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.createSubject
in interface SubjectFactory
createSubject
in class DefaultWebSubjectFactory
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
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.