federation display name
This commit is contained in:
1 parent
d0dc75c06f
commit
b72a7db6fe
16 files changed
+222
-20
No files matched your search
core/src/main/java/org/keycloak/representations/idm/UserFederationProviderFactoryRepresentation.java
Executable
+46
@@ -0,0 +1,46 @@
|
||||
package org.keycloak.representations.idm;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:bburke@redhat.com">Bill Burke</a>
|
||||
*/
|
||||
public class UserFederationProviderFactoryRepresentation {
|
||||
|
||||
private String id;
|
||||
private List<String> options;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public List<String> getOptions() {
|
||||
return options;
|
||||
}
|
||||
|
||||
public void setOptions(List<String> options) {
|
||||
this.options = options;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
UserFederationProviderFactoryRepresentation that = (UserFederationProviderFactoryRepresentation) o;
|
||||
|
||||
if (!id.equals(that.id)) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return id.hashCode();
|
||||
}
|
||||
}
|
||||
+9
@@ -8,6 +8,7 @@ import java.util.Map;
|
||||
public class UserFederationProviderRepresentation {
|
||||
|
||||
private String id;
|
||||
private String displayName;
|
||||
private String providerName;
|
||||
private Map<String, String> config;
|
||||
private int priority;
|
||||
@@ -20,6 +21,14 @@ public class UserFederationProviderRepresentation {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
return displayName;
|
||||
}
|
||||
|
||||
public void setDisplayName(String displayName) {
|
||||
this.displayName = displayName;
|
||||
}
|
||||
|
||||
public String getProviderName() {
|
||||
return providerName;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user