Package de.xima.fc.session
Class FRQSessionStateGenerator
- java.lang.Object
-
- de.xima.fc.session.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 Summary
Constructors Constructor Description FRQSessionStateGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.alibaba.fastjson.JSONObject
decryptJSON(String encoded)
static String
encryptedJSON(javax.servlet.http.HttpServletRequest request)
String
generateValue(org.pac4j.core.context.WebContext webContext, org.pac4j.core.context.session.SessionStore sessionStore)
static FRQSession
getSessionFromStateValue(javax.servlet.http.HttpServletRequest req)
-
-
-
Method Detail
-
generateValue
public String generateValue(org.pac4j.core.context.WebContext webContext, org.pac4j.core.context.session.SessionStore sessionStore)
- Specified by:
generateValue
in interfaceorg.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)
-
-