public class ApplicationAdapter extends ClientAdapter implements ApplicationModel
| Modifier and Type | Field and Description |
|---|---|
protected CachedApplication |
cached |
protected ApplicationModel |
updated |
cache, cachedClient, cachedRealm, cacheSession, updatedClient| Constructor and Description |
|---|
ApplicationAdapter(RealmModel cachedRealm,
CachedApplication cached,
CacheKeycloakSession cacheSession,
KeycloakCache cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultRole(String name) |
RoleModel |
addRole(String name) |
RoleModel |
addRole(String id,
String name) |
boolean |
equals(Object o) |
Set<RoleModel> |
getApplicationScopeMappings(ClientModel client) |
String |
getBaseUrl() |
String |
getClientId()
String exposed to outside world
|
List<String> |
getDefaultRoles() |
protected void |
getDelegateForUpdate() |
String |
getManagementUrl() |
String |
getName() |
RoleModel |
getRole(String name) |
Set<RoleModel> |
getRoles() |
int |
hashCode() |
boolean |
isBearerOnly() |
boolean |
isSurrogateAuthRequired() |
boolean |
removeRole(RoleModel role) |
void |
setBaseUrl(String url) |
void |
setBearerOnly(boolean only) |
void |
setManagementUrl(String url) |
void |
setName(String name) |
void |
setSurrogateAuthRequired(boolean surrogateAuthRequired) |
void |
updateApplication() |
void |
updateDefaultRoles(String[] defaultRoles) |
addRedirectUri, addScopeMapping, addWebOrigin, deleteScopeMapping, getActiveUserSessions, getAllowedClaimsMask, getId, getNotBefore, getRealm, getRealmScopeMappings, getRedirectUris, getScopeMappings, getSecret, getUserSessions, getWebOrigins, hasScope, isDirectGrantsOnly, isEnabled, isPublicClient, removeRedirectUri, removeWebOrigin, setAllowedClaimsMask, setDirectGrantsOnly, setEnabled, setNotBefore, setPublicClient, setRedirectUris, setSecret, setWebOrigins, validateSecretclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddRedirectUri, addScopeMapping, addWebOrigin, deleteScopeMapping, getActiveUserSessions, getAllowedClaimsMask, getId, getNotBefore, getRealm, getRealmScopeMappings, getRedirectUris, getScopeMappings, getSecret, getUserSessions, getWebOrigins, hasScope, isDirectGrantsOnly, isEnabled, isPublicClient, removeRedirectUri, removeWebOrigin, setAllowedClaimsMask, setDirectGrantsOnly, setEnabled, setNotBefore, setPublicClient, setRedirectUris, setSecret, setWebOrigins, validateSecretprotected ApplicationModel updated
protected CachedApplication cached
public ApplicationAdapter(RealmModel cachedRealm, CachedApplication cached, CacheKeycloakSession cacheSession, KeycloakCache cache)
protected void getDelegateForUpdate()
getDelegateForUpdate in class ClientAdapterpublic void updateApplication()
updateApplication in interface ApplicationModelpublic String getName()
getName in interface ApplicationModelpublic String getClientId()
ClientModelgetClientId in interface ClientModelgetClientId in class ClientAdapterpublic void setName(String name)
setName in interface ApplicationModelpublic boolean isSurrogateAuthRequired()
isSurrogateAuthRequired in interface ApplicationModelpublic void setSurrogateAuthRequired(boolean surrogateAuthRequired)
setSurrogateAuthRequired in interface ApplicationModelpublic String getManagementUrl()
getManagementUrl in interface ApplicationModelpublic void setManagementUrl(String url)
setManagementUrl in interface ApplicationModelpublic String getBaseUrl()
getBaseUrl in interface ApplicationModelpublic void setBaseUrl(String url)
setBaseUrl in interface ApplicationModelpublic List<String> getDefaultRoles()
getDefaultRoles in interface ApplicationModelpublic void addDefaultRole(String name)
addDefaultRole in interface ApplicationModelpublic void updateDefaultRoles(String[] defaultRoles)
updateDefaultRoles in interface ApplicationModelpublic Set<RoleModel> getApplicationScopeMappings(ClientModel client)
getApplicationScopeMappings in interface ApplicationModelpublic boolean isBearerOnly()
isBearerOnly in interface ApplicationModelpublic void setBearerOnly(boolean only)
setBearerOnly in interface ApplicationModelpublic RoleModel getRole(String name)
getRole in interface RoleContainerModelpublic RoleModel addRole(String name)
addRole in interface RoleContainerModelpublic RoleModel addRole(String id, String name)
addRole in interface RoleContainerModelpublic boolean removeRole(RoleModel role)
removeRole in interface RoleContainerModelpublic Set<RoleModel> getRoles()
getRoles in interface RoleContainerModelCopyright © 2014. All Rights Reserved.