KEYCLOAK-1476

This commit is contained in:
Stian Thorgersen 2015-06-17 19:28:58 +02:00
parent 0b0b101184
commit caeb710444
2 changed files with 5 additions and 2 deletions

View file

@ -1,11 +1,13 @@
package org.keycloak.models;
import java.io.Serializable;
/**
* Used just in cases when we want to "directly" update or retrieve the hash or salt of user credential (For example during export/import)
*
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
*/
public class UserCredentialValueModel {
public class UserCredentialValueModel implements Serializable {
private String type;
private String value;

View file

@ -5,6 +5,7 @@ import org.keycloak.models.RoleModel;
import org.keycloak.models.UserCredentialValueModel;
import org.keycloak.models.UserModel;
import java.io.Serializable;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
@ -16,7 +17,7 @@ import java.util.Set;
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public class CachedUser {
public class CachedUser implements Serializable {
private String id;
private String realm;
private String username;