Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Bill Burke committed 2017-06-26 11:41:12 -04:00
commit bc05560d4d
29 files changed
+905 -73

No files matched your search

@@ -56,7 +56,22 @@ public class CredentialModel implements Serializable {
private int period;
private MultivaluedHashMap<String, String> config;
public CredentialModel shallowClone() {
CredentialModel res = new CredentialModel();
res.id = id;
res.type = type;
res.value = value;
res.device = device;
res.salt = salt;
res.hashIterations = hashIterations;
res.createdDate = createdDate;
res.counter = counter;
res.algorithm = algorithm;
res.digits = digits;
res.period = period;
res.config = config;
return res;
}
public String getId() {
return id;
@@ -18,7 +18,7 @@ package org.keycloak.models.cache;
import org.keycloak.models.UserModel;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
/**
* Cached users will implement this interface
@@ -55,5 +55,5 @@ public interface CachedUserModel extends UserModel {
*
* @return
*/
ConcurrentHashMap getCachedWith();
ConcurrentMap getCachedWith();
}