← Back to plugin index

Gzip Base64 Ticket Encoder

Description
Encodes the ticket using GZIP and base-64.

The keys/values in the ticket are encoded as described in KeyMultiValue. The expiry date is then appended (see below) and the resulting byte array is base-64 encoded. Thus, there is no cryptographic protection in place!

Example:
"medusaID=1234;uname=smith;roles=customer,employee;name1=value1;name2=value2;"

The ticket string (as above) is interpreted as byte array (ASCII encoding) from here on. The expiry date is appended to the ticket string: The milliseconds since midnight 01.01.1970 appended as 64 bit signed integer (MSB first).

Type name
GzipBase64TicketEncoder
Class
com.airlock.iam.core.misc.util.ticket.codec.GzipBase64TicketEncoder
May be used by
Properties
YAML Template (with default values)

type: GzipBase64TicketEncoder
id: GzipBase64TicketEncoder-xxxxxx
displayName: 
comment: 
properties: