Class Marshalling

java.lang.Object
org.keycloak.marshalling.Marshalling

public final class Marshalling extends Object
Ids of the protostream type.

Read careful the following warning to ensure compatibility when updating schemas.

WARNING! IDs lower or equal than 65535 are reserved for internal Inifinispan classes and cannot be used. WARNING! ID defined in this class must be unique. If one type is removed, its ID must not be reused. You have been warned! The ID identifies the message, and it is stored and used to save space. WARNING! The field IDs cannot be reused as well for the same reason. WARNING! Primitive types cannot be null in proto3 syntax (Integer, String). Take that in consideration.

Be Aware of the following default in Proto3 syntax! For strings, the default value is the empty string. For bytes, the default value is empty bytes. For bools, the default value is false. For numeric types, the default value is zero. For enums, the default value is the first defined enum value, which must be 0. For message fields, the field is not set. (null)

Docs: Language Guide (proto 3)

  • Field Details

    • PROTO_SCHEMA_PACKAGE

      public static final String PROTO_SCHEMA_PACKAGE
      See Also:
    • USER_STATE_ENUM

      public static final int USER_STATE_ENUM
      See Also:
    • CLIENT_SESSION_EXECUTION_STATUS

      public static final int CLIENT_SESSION_EXECUTION_STATUS
      See Also:
    • MULTIMAP_ENTRY

      public static final int MULTIMAP_ENTRY
      See Also:
    • USER_STORAGE_PROVIDER_MODES

      public static final int USER_STORAGE_PROVIDER_MODES
      See Also:
    • USER_STORAGE_PROVIDER_CLUSTER_EVENT

      public static final int USER_STORAGE_PROVIDER_CLUSTER_EVENT
      See Also:
    • LOCK_ENTRY

      public static final int LOCK_ENTRY
      See Also:
    • LOCK_ENTRY_PREDICATE

      public static final int LOCK_ENTRY_PREDICATE
      See Also:
    • WRAPPED_CLUSTER_EVENT

      public static final int WRAPPED_CLUSTER_EVENT
      See Also:
    • WRAPPED_CLUSTER_EVENT_SITE_FILTER

      public static final int WRAPPED_CLUSTER_EVENT_SITE_FILTER
      See Also:
    • PUBLIC_KEY_INVALIDATION_EVENT

      public static final int PUBLIC_KEY_INVALIDATION_EVENT
      See Also:
    • POLICY_UPDATED_EVENT

      public static final int POLICY_UPDATED_EVENT
      See Also:
    • POLICY_REMOVED_EVENT

      public static final int POLICY_REMOVED_EVENT
      See Also:
    • RESOURCE_UPDATED_EVENT

      public static final int RESOURCE_UPDATED_EVENT
      See Also:
    • RESOURCE_REMOVED_EVENT

      public static final int RESOURCE_REMOVED_EVENT
      See Also:
    • RESOURCE_SERVER_UPDATED_EVENT

      public static final int RESOURCE_SERVER_UPDATED_EVENT
      See Also:
    • RESOURCE_SERVER_REMOVED_EVENT

      public static final int RESOURCE_SERVER_REMOVED_EVENT
      See Also:
    • SCOPE_UPDATED_EVENT

      public static final int SCOPE_UPDATED_EVENT
      See Also:
    • SCOPE_REMOVED_EVENT

      public static final int SCOPE_REMOVED_EVENT
      See Also:
    • INITIALIZER_STATE

      public static final int INITIALIZER_STATE
      See Also:
    • SESSION_ENTITY_WRAPPER

      public static final int SESSION_ENTITY_WRAPPER
      See Also:
    • REPLACE_FUNCTION

      public static final int REPLACE_FUNCTION
      See Also:
    • LAST_SESSION_REFRESH_EVENT

      public static final int LAST_SESSION_REFRESH_EVENT
      See Also:
    • SESSION_DATA

      public static final int SESSION_DATA
      See Also:
    • IN_RESOURCE_PREDICATE

      public static final int IN_RESOURCE_PREDICATE
      See Also:
    • IN_RESOURCE_SERVER_PREDICATE

      public static final int IN_RESOURCE_SERVER_PREDICATE
      See Also:
    • IN_SCOPE_PREDICATE

      public static final int IN_SCOPE_PREDICATE
      See Also:
    • REALM_REMOVED_SESSION_EVENT

      public static final int REALM_REMOVED_SESSION_EVENT
      See Also:
    • REMOVE_ALL_USER_LOGIN_FAILURES_EVENT

      public static final int REMOVE_ALL_USER_LOGIN_FAILURES_EVENT
      See Also:
    • REMOVE_ALL_USER_SESSIONS_EVENT

      public static final int REMOVE_ALL_USER_SESSIONS_EVENT
      See Also:
    • SESSION_PREDICATE

      public static final int SESSION_PREDICATE
      See Also:
    • SESSION_WRAPPER_PREDICATE

      public static final int SESSION_WRAPPER_PREDICATE
      See Also:
    • USER_SESSION_PREDICATE

      public static final int USER_SESSION_PREDICATE
      See Also:
    • GROUP_LIST_PREDICATE

      public static final int GROUP_LIST_PREDICATE
      See Also:
    • HAS_ROLE_PREDICATE

      public static final int HAS_ROLE_PREDICATE
      See Also:
    • IN_CLIENT_PREDICATE

      public static final int IN_CLIENT_PREDICATE
      See Also:
    • IN_GROUP_PREDICATE

      public static final int IN_GROUP_PREDICATE
      See Also:
    • IN_IDENTITY_PROVIDER_PREDICATE

      public static final int IN_IDENTITY_PROVIDER_PREDICATE
      See Also:
    • IN_REALM_PREDICATE

      public static final int IN_REALM_PREDICATE
      See Also:
    • AUTHENTICATION_SESSION_AUTH_NOTE_UPDATE_EVENT

      public static final int AUTHENTICATION_SESSION_AUTH_NOTE_UPDATE_EVENT
      See Also:
    • CLIENT_ADDED_EVENT

      public static final int CLIENT_ADDED_EVENT
      See Also:
    • CLIENT_UPDATED_EVENT

      public static final int CLIENT_UPDATED_EVENT
      See Also:
    • CLIENT_REMOVED_EVENT

      public static final int CLIENT_REMOVED_EVENT
      See Also:
    • CLIENT_SCOPE_ADDED_EVENT

      public static final int CLIENT_SCOPE_ADDED_EVENT
      See Also:
    • CLIENT_SCOPE_REMOVED_EVENT

      public static final int CLIENT_SCOPE_REMOVED_EVENT
      See Also:
    • GROUP_ADDED_EVENT

      public static final int GROUP_ADDED_EVENT
      See Also:
    • GROUP_MOVED_EVENT

      public static final int GROUP_MOVED_EVENT
      See Also:
    • GROUP_REMOVED_EVENT

      public static final int GROUP_REMOVED_EVENT
      See Also:
    • GROUP_UPDATED_EVENT

      public static final int GROUP_UPDATED_EVENT
      See Also:
    • REALM_UPDATED_EVENT

      public static final int REALM_UPDATED_EVENT
      See Also:
    • REALM_REMOVED_EVENT

      public static final int REALM_REMOVED_EVENT
      See Also:
    • ROLE_ADDED_EVENT

      public static final int ROLE_ADDED_EVENT
      See Also:
    • ROLE_UPDATED_EVENT

      public static final int ROLE_UPDATED_EVENT
      See Also:
    • ROLE_REMOVED_EVENT

      public static final int ROLE_REMOVED_EVENT
      See Also:
    • USER_CACHE_REALM_INVALIDATION_EVENT

      public static final int USER_CACHE_REALM_INVALIDATION_EVENT
      See Also:
    • USER_CONSENTS_UPDATED_EVENT

      public static final int USER_CONSENTS_UPDATED_EVENT
      See Also:
    • USER_FULL_INVALIDATION_EVENT

      public static final int USER_FULL_INVALIDATION_EVENT
      See Also:
    • USER_UPDATED_EVENT

      public static final int USER_UPDATED_EVENT
      See Also:
    • AUTHENTICATED_CLIENT_SESSION_STORE

      public static final int AUTHENTICATED_CLIENT_SESSION_STORE
      See Also:
    • AUTHENTICATED_CLIENT_SESSION_ENTITY

      public static final int AUTHENTICATED_CLIENT_SESSION_ENTITY
      See Also:
    • AUTHENTICATION_SESSION_ENTITY

      public static final int AUTHENTICATION_SESSION_ENTITY
      See Also:
    • LOGIN_FAILURE_ENTITY

      public static final int LOGIN_FAILURE_ENTITY
      See Also:
    • LOGIN_FAILURE_KEY

      public static final int LOGIN_FAILURE_KEY
      See Also:
    • ROOT_AUTHENTICATION_SESSION_ENTITY

      public static final int ROOT_AUTHENTICATION_SESSION_ENTITY
      See Also:
    • SINGLE_USE_OBJECT_VALUE_ENTITY

      public static final int SINGLE_USE_OBJECT_VALUE_ENTITY
      See Also:
    • USER_SESSION_ENTITY

      public static final int USER_SESSION_ENTITY
      See Also:
    • CACHE_KEY_INVALIDATION_EVENT

      public static final int CACHE_KEY_INVALIDATION_EVENT
      See Also:
    • CLEAR_CACHE_EVENT

      public static final int CLEAR_CACHE_EVENT
      See Also:
    • REMOTE_USER_SESSION_ENTITY

      public static final int REMOTE_USER_SESSION_ENTITY
      See Also:
    • CLIENT_SESSION_KEY

      public static final int CLIENT_SESSION_KEY
      See Also:
    • REMOTE_CLIENT_SESSION_ENTITY

      public static final int REMOTE_CLIENT_SESSION_ENTITY
      See Also:
  • Method Details

    • configure

      public static void configure(org.infinispan.configuration.global.GlobalConfigurationBuilder builder)
    • configure

      public static void configure(org.infinispan.client.hotrod.configuration.ConfigurationBuilder builder)
    • protoEntity

      public static String protoEntity(Class<?> clazz)