Class Pac4jSubjectFactory

  • All Implemented Interfaces:
    org.apache.shiro.mgt.SubjectFactory

    public class Pac4jSubjectFactory
    extends org.apache.shiro.web.mgt.DefaultWebSubjectFactory
    Factory 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 Detail

      • Pac4jSubjectFactory

        public Pac4jSubjectFactory()
    • Method Detail

      • createSubject

        public org.apache.shiro.subject.Subject createSubject​(org.apache.shiro.subject.SubjectContext context)
        Specified by:
        createSubject in interface org.apache.shiro.mgt.SubjectFactory
        Overrides:
        createSubject in class org.apache.shiro.web.mgt.DefaultWebSubjectFactory