Class AbstractTicketSerializer<T extends Ticket>

java.lang.Object
net.shibboleth.idp.cas.ticket.serialization.impl.AbstractTicketSerializer<T>
Type Parameters:
T - type of ticket
All Implemented Interfaces:
Component, InitializableComponent, StorageSerializer<T>
Direct Known Subclasses:
ProxyGrantingTicketSerializer, ProxyTicketSerializer, ServiceTicketSerializer

public abstract class AbstractTicketSerializer<T extends Ticket>
extends Object
implements StorageSerializer<T>
Base class for ticket serializers that use a simple field-delimited serialization strategy. Tickets are expected to be stored using the ticket ID as a key, so the ticket ID is not contained as part of the serialized form.
  • Field Details

    • SERVICE_FIELD

      private static final String SERVICE_FIELD
      Service field name.
      See Also:
      Constant Field Values
    • EXPIRATION_FIELD

      private static final String EXPIRATION_FIELD
      Expiration instant field name.
      See Also:
      Constant Field Values
    • STATE_FIELD

      private static final String STATE_FIELD
      Supplemental ticket state field name.
      See Also:
      Constant Field Values
    • SESSION_FIELD

      private static final String SESSION_FIELD
      Session ID field name.
      See Also:
      Constant Field Values
    • PRINCIPAL_FIELD

      private static final String PRINCIPAL_FIELD
      Authenticated canonical principal name field.
      See Also:
      Constant Field Values
    • AUTHN_INSTANT_FIELD

      private static final String AUTHN_INSTANT_FIELD
      Authentication instant field name.
      See Also:
      Constant Field Values
    • AUTHN_METHOD_FIELD

      private static final String AUTHN_METHOD_FIELD
      Authentication method field name.
      See Also:
      Constant Field Values
    • logger

      private final org.slf4j.Logger logger
      Logger instance.
    • generatorFactory

      @Nonnull private final javax.json.stream.JsonGeneratorFactory generatorFactory
      JSON generator factory.
    • readerFactory

      @Nonnull private final javax.json.JsonReaderFactory readerFactory
      JSON reader factory.
  • Constructor Details

    • AbstractTicketSerializer

      public AbstractTicketSerializer()
  • Method Details