public UserFederationLinkRemovedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { UserFederationLinkRemovedEvent res = new UserFederationLinkRemovedEvent(); res.userId = MarshallUtil.unmarshallString(input); res.realmId = MarshallUtil.unmarshallString(input); res.identityProviderId = MarshallUtil.unmarshallString(input); res.socialUserId = MarshallUtil.unmarshallString(input); return res; } }
public ScopeRemovedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { ScopeRemovedEvent res = new ScopeRemovedEvent(); res.id = MarshallUtil.unmarshallString(input); res.name = MarshallUtil.unmarshallString(input); res.serverId = MarshallUtil.unmarshallString(input); return res; } }
public GroupRemovedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { GroupRemovedEvent res = new GroupRemovedEvent(); res.realmId = MarshallUtil.unmarshallString(input); res.groupId = MarshallUtil.unmarshallString(input); res.parentId = MarshallUtil.unmarshallString(input); return res; } }
public ScopeUpdatedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { ScopeUpdatedEvent res = new ScopeUpdatedEvent(); res.id = MarshallUtil.unmarshallString(input); res.name = MarshallUtil.unmarshallString(input); res.serverId = MarshallUtil.unmarshallString(input); return res; } }
public RoleUpdatedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { RoleUpdatedEvent res = new RoleUpdatedEvent(); res.roleId = MarshallUtil.unmarshallString(input); res.roleName = MarshallUtil.unmarshallString(input); res.containerId = MarshallUtil.unmarshallString(input); return res; } }
public RoleAddedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { RoleAddedEvent res = new RoleAddedEvent(); res.roleId = MarshallUtil.unmarshallString(input); res.containerId = MarshallUtil.unmarshallString(input); return res; } }
public RealmRemovedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { RealmRemovedEvent res = new RealmRemovedEvent(); res.realmId = MarshallUtil.unmarshallString(input); res.realmName = MarshallUtil.unmarshallString(input); return res; } }
public GroupAddedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { GroupAddedEvent res = new GroupAddedEvent(); res.groupId = MarshallUtil.unmarshallString(input); res.realmId = MarshallUtil.unmarshallString(input); return res; } }
public LoginFailureEntity readObjectVersion1(ObjectInput input) throws IOException { return new LoginFailureEntity( MarshallUtil.unmarshallString(input), MarshallUtil.unmarshallString(input), input.readInt(), input.readInt(), input.readLong(), MarshallUtil.unmarshallString(input) ); } }
public ResourceRemovedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { ResourceRemovedEvent res = new ResourceRemovedEvent(); res.id = MarshallUtil.unmarshallString(input); res.name = MarshallUtil.unmarshallString(input); res.type = MarshallUtil.unmarshallString(input); res.uris = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new); res.owner = MarshallUtil.unmarshallString(input); res.scopes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new); res.serverId = MarshallUtil.unmarshallString(input); return res; } }
public ClientRemovedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { ClientRemovedEvent res = new ClientRemovedEvent(); res.clientUuid = MarshallUtil.unmarshallString(input); res.clientId = MarshallUtil.unmarshallString(input); res.realmId = MarshallUtil.unmarshallString(input); res.clientRoles = KeycloakMarshallUtil.readMap(input, KeycloakMarshallUtil.STRING_EXT, KeycloakMarshallUtil.STRING_EXT, size -> new ConcurrentHashMap<>(size)); return res; } }
@Override public LockFunction readObject(ObjectInput input) throws IOException, ClassNotFoundException { return new LockFunction(MarshallUtil.unmarshallString(input), input.readObject()); } }
public UserFederationLinkUpdatedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { UserFederationLinkUpdatedEvent res = new UserFederationLinkUpdatedEvent(); res.userId = MarshallUtil.unmarshallString(input); return res; } }
public InClientPredicate readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { InClientPredicate res = new InClientPredicate(); res.clientId = MarshallUtil.unmarshallString(input); return res; } }
public UserCacheRealmInvalidationEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { UserCacheRealmInvalidationEvent res = new UserCacheRealmInvalidationEvent(); res.realmId = MarshallUtil.unmarshallString(input); return res; } }
public UserConsentsUpdatedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { UserConsentsUpdatedEvent res = new UserConsentsUpdatedEvent(); res.userId = MarshallUtil.unmarshallString(input); return res; } }
public InResourceServerPredicate readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { InResourceServerPredicate res = new InResourceServerPredicate(); res.serverId = MarshallUtil.unmarshallString(input); return res; } }
public PolicyRemovedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { PolicyRemovedEvent res = new PolicyRemovedEvent(); res.id = MarshallUtil.unmarshallString(input); res.name = MarshallUtil.unmarshallString(input); res.scopes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new); res.resources = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new); res.resourceTypes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new); res.serverId = MarshallUtil.unmarshallString(input); return res; } }
public PolicyUpdatedEvent readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException { PolicyUpdatedEvent res = new PolicyUpdatedEvent(); res.id = MarshallUtil.unmarshallString(input); res.name = MarshallUtil.unmarshallString(input); res.resources = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new); res.resourceTypes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new); res.scopes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new); res.serverId = MarshallUtil.unmarshallString(input); return res; } }
@Override public ClusteredLockValue readObject(ObjectInput input) throws IOException, ClassNotFoundException { String requestId = MarshallUtil.unmarshallString(input); Object owner = input.readObject(); ClusteredLockState state = MarshallUtil.unmarshallEnum(input, ClusteredLockState::valueOf); return new ClusteredLockValue(requestId, owner, state); } }