| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
COULD_NOT_ENCRYPT_SESSION |
|
protected static org.apache.log4j.Logger |
LOGGER |
|
static java.lang.String |
NOT_ENCRPTING |
| Constructor | Description |
|---|---|
EncryptSession(org.rootservices.jwt.config.JwtAppFactory jwtAppFactory,
java.util.Base64.Decoder decoder,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
|
EncryptSession(CookieConfig cookieConfig,
org.rootservices.jwt.config.JwtAppFactory jwtAppFactory,
java.util.Base64.Decoder decoder,
org.rootservices.jwt.entity.jwk.SymmetricKey preferredKey,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.io.ByteArrayOutputStream |
encrypt(Session session) |
|
CookieConfig |
getCookieConfig() |
|
org.rootservices.jwt.entity.jwk.SymmetricKey |
getPreferredKey() |
|
void |
process(Method method,
Request request,
Response response) |
|
void |
setCookieConfig(CookieConfig cookieConfig) |
|
void |
setPreferredKey(org.rootservices.jwt.entity.jwk.SymmetricKey preferredKey) |
|
protected java.lang.Boolean |
shouldEncrypt(Request request,
Response response) |
public static final java.lang.String NOT_ENCRPTING
public static final java.lang.String COULD_NOT_ENCRYPT_SESSION
protected static org.apache.log4j.Logger LOGGER
public EncryptSession(org.rootservices.jwt.config.JwtAppFactory jwtAppFactory,
java.util.Base64.Decoder decoder,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public EncryptSession(CookieConfig cookieConfig, org.rootservices.jwt.config.JwtAppFactory jwtAppFactory, java.util.Base64.Decoder decoder, org.rootservices.jwt.entity.jwk.SymmetricKey preferredKey, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void process(Method method, Request request, Response response) throws HaltException
process in interface BetweenHaltExceptionprotected java.io.ByteArrayOutputStream encrypt(Session session) throws EncryptSessionException
EncryptSessionExceptionpublic CookieConfig getCookieConfig()
public void setCookieConfig(CookieConfig cookieConfig)
public org.rootservices.jwt.entity.jwk.SymmetricKey getPreferredKey()
public void setPreferredKey(org.rootservices.jwt.entity.jwk.SymmetricKey preferredKey)