public class ClaimCookieSerializer extends Object
ClaimsCookie
s.Modifier and Type | Field and Description |
---|---|
static byte |
EQUALS_SIGN_BYTE
Equals sign '=' byte value.
|
Constructor and Description |
---|
ClaimCookieSerializer(String cookieName)
Creates a serializer that will serialize claims in cookies with the given name.
|
Modifier and Type | Method and Description |
---|---|
List<ClaimsCookie> |
serializeClaims(Map<URI,Object> claims)
Serializes the map of claims to the list of claims cookies
Always compresses the cookie value irrespective of the size.
|
public static final byte EQUALS_SIGN_BYTE
public ClaimCookieSerializer(String cookieName)
cookieName
- The name of the cookie(s) that will contain the serialized claims.public List<ClaimsCookie> serializeClaims(Map<URI,Object> claims)
claims
- Claims mapCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries