Class FRQSessionStateGenerator

  • All Implemented Interfaces:
    org.pac4j.core.util.generator.ValueGenerator
    Direct Known Subclasses:
    FRQSessionStateGenerator

    public class FRQSessionStateGenerator
    extends Object
    implements org.pac4j.core.util.generator.ValueGenerator
    Generator for FRQ session values.
    Since:
    7.2.0
    Author:
    XIMA Media GmbH
    • Constructor Detail

      • FRQSessionStateGenerator

        public FRQSessionStateGenerator()
    • Method Detail

      • generateValue

        public String generateValue​(org.pac4j.core.context.WebContext webContext,
                                    org.pac4j.core.context.session.SessionStore sessionStore)
        Specified by:
        generateValue in interface org.pac4j.core.util.generator.ValueGenerator
      • encryptedJSON

        public static String encryptedJSON​(javax.servlet.http.HttpServletRequest request)
      • decryptJSON

        public static com.alibaba.fastjson.JSONObject decryptJSON​(String encoded)
      • getSessionFromStateValue

        public static FRQSession getSessionFromStateValue​(javax.servlet.http.HttpServletRequest req)