expose client attributes in ClientBean
This commit is contained in:
parent
aa25c899ee
commit
3b4b1b20d8
1 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,7 @@ import org.keycloak.models.ClientModel;
|
|||
import org.keycloak.services.util.ResolveRelative;
|
||||
|
||||
import java.net.URI;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
|
||||
|
@ -32,4 +33,11 @@ public class ClientBean {
|
|||
return ResolveRelative.resolveRelativeUri(requestUri, client.getRootUrl(), client.getBaseUrl());
|
||||
}
|
||||
|
||||
public Map<String,String> getAttributes(){
|
||||
return client.getAttributes();
|
||||
}
|
||||
|
||||
public String getAttribute(String key){
|
||||
return client.getAttribute(key);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue