Package io.buji.pac4j.subject
Class Pac4jSubjectFactory
- java.lang.Object
-
- org.apache.shiro.mgt.DefaultSubjectFactory
-
- org.apache.shiro.web.mgt.DefaultWebSubjectFactory
-
- io.buji.pac4j.subject.Pac4jSubjectFactory
-
- All Implemented Interfaces:
org.apache.shiro.mgt.SubjectFactory
public class Pac4jSubjectFactory extends org.apache.shiro.web.mgt.DefaultWebSubjectFactoryFactory for building a Shiro subject authenticated by pac4j. This factory sets the Shiro context as not authenticated if the user was RememberMe authenticated. It also enables the session creation.- Since:
- 1.2.3
- Author:
- Michael Remond
-
-
Constructor Summary
Constructors Constructor Description Pac4jSubjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.shiro.subject.SubjectcreateSubject(org.apache.shiro.subject.SubjectContext context)
-