@Override public void writeObject(ObjectOutput output, ScopeRemovedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.id, output); MarshallUtil.marshallString(obj.name, output); MarshallUtil.marshallString(obj.serverId, output); }
@Override public void writeObject(ObjectOutput output, RoleUpdatedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.roleId, output); MarshallUtil.marshallString(obj.roleName, output); MarshallUtil.marshallString(obj.containerId, output); }
@Override public void writeObject(ObjectOutput output, RoleRemovedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.roleId, output); MarshallUtil.marshallString(obj.roleName, output); MarshallUtil.marshallString(obj.containerId, output); }
@Override public void writeObject(ObjectOutput output, ClientUpdatedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.clientUuid, output); MarshallUtil.marshallString(obj.clientId, output); MarshallUtil.marshallString(obj.realmId, output); }
protected void marshallTo(ObjectOutput output) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(realmId, output); MarshallUtil.marshallString(eventKey, output); output.writeBoolean(resendingEvent); MarshallUtil.marshallString(siteId, output); MarshallUtil.marshallString(nodeId, output); }
@Override public void writeObject(ObjectOutput output, GroupAddedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.groupId, output); MarshallUtil.marshallString(obj.realmId, output); }
@Override public void writeObject(ObjectOutput output, ResourceServerRemovedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.id, output); MarshallUtil.marshallString(obj.clientId, output); }
@Override public void writeObject(ObjectOutput output, UnlockFunction object) throws IOException { MarshallUtil.marshallString(object.requestId, output); output.writeObject(object.requestors); }
@Override public void writeObject(ObjectOutput output, InRealmPredicate obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.realm, output); }
@Override public void writeObject(ObjectOutput output, HasRolePredicate obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.role, output); }
@Override public void writeObject(ObjectOutput output, ResourceServerUpdatedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.id, output); }
@Override public void writeObject(ObjectOutput output, UserCacheRealmInvalidationEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.realmId, output); }
@Override public void writeObject(ObjectOutput output, UserConsentsUpdatedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.userId, output); }
@Override public void writeObject(ObjectOutput output, WrapperClusterEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.eventKey, output); MarshallUtil.marshallString(obj.sender, output); MarshallUtil.marshallString(obj.senderSite, output); output.writeBoolean(obj.ignoreSender); output.writeBoolean(obj.ignoreSenderSite); output.writeObject(obj.delegateEvent); }
@Override public void writeObject(ObjectOutput output, ResourceUpdatedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.id, output); MarshallUtil.marshallString(obj.name, output); MarshallUtil.marshallString(obj.type, output); KeycloakMarshallUtil.writeCollection(obj.uris, KeycloakMarshallUtil.STRING_EXT, output); KeycloakMarshallUtil.writeCollection(obj.scopes, KeycloakMarshallUtil.STRING_EXT, output); MarshallUtil.marshallString(obj.serverId, output); MarshallUtil.marshallString(obj.owner, output); }
@Override public void writeObject(ObjectOutput output, ResourceRemovedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.id, output); MarshallUtil.marshallString(obj.name, output); MarshallUtil.marshallString(obj.type, output); KeycloakMarshallUtil.writeCollection(obj.uris, KeycloakMarshallUtil.STRING_EXT, output); MarshallUtil.marshallString(obj.owner, output); KeycloakMarshallUtil.writeCollection(obj.scopes, KeycloakMarshallUtil.STRING_EXT, output); MarshallUtil.marshallString(obj.serverId, output); }
@Override public void writeObject(ObjectOutput output, LoginFailureEntity value) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(value.getRealmId(), output); MarshallUtil.marshallString(value.userId, output); output.writeInt(value.failedLoginNotBefore); output.writeInt(value.numFailures); output.writeLong(value.lastFailure); MarshallUtil.marshallString(value.lastIPFailure, output); }
@Override public void writeObject(ObjectOutput output, SessionData obj) throws IOException { MarshallUtil.marshallString(obj.realmId, output); KeycloakMarshallUtil.marshall(obj.lastSessionRefresh, output); }
@Override public void writeObject(ObjectOutput output, ClientRemovedSessionEvent obj) throws IOException { output.writeByte(VERSION_1); obj.marshallTo(output); MarshallUtil.marshallString(obj.clientUuid, output); }
@Override public void writeObject(ObjectOutput output, PolicyUpdatedEvent obj) throws IOException { output.writeByte(VERSION_1); MarshallUtil.marshallString(obj.id, output); MarshallUtil.marshallString(obj.name, output); KeycloakMarshallUtil.writeCollection(obj.resources, KeycloakMarshallUtil.STRING_EXT, output); KeycloakMarshallUtil.writeCollection(obj.resourceTypes, KeycloakMarshallUtil.STRING_EXT, output); KeycloakMarshallUtil.writeCollection(obj.scopes, KeycloakMarshallUtil.STRING_EXT, output); MarshallUtil.marshallString(obj.serverId, output); }