Class MapScopeAdapter
- java.lang.Object
- 
- org.keycloak.authorization.model.AbstractAuthorizationModel
- 
- org.keycloak.models.map.authorization.adapter.AbstractScopeModel<MapScopeEntity>
- 
- org.keycloak.models.map.authorization.adapter.MapScopeAdapter
 
 
 
- 
- All Implemented Interfaces:
- Scope
 
 public class MapScopeAdapter extends AbstractScopeModel<MapScopeEntity> 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.authorization.model.ScopeScope.FilterOption, Scope.SearchableFields
 
- 
 - 
Field Summary- 
Fields inherited from class org.keycloak.models.map.authorization.adapter.AbstractScopeModelentity
 - 
Fields inherited from class org.keycloak.authorization.model.AbstractAuthorizationModelstoreFactory
 
- 
 - 
Constructor SummaryConstructors Constructor Description MapScopeAdapter(RealmModel realm, ResourceServer resourceServer, MapScopeEntity entity, StoreFactory storeFactory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()Returns the end user friendly name for this scope.StringgetIconUri()Returns an iconURIfor this scope.StringgetId()Returns the unique identifier for this instance.StringgetName()Returns the name of this scope.ResourceServergetResourceServer()Returns theResourceServerinstance to where this scope belongs to.voidsetDisplayName(String name)Sets an end user friendly name for this scope.voidsetIconUri(String iconUri)Sets an iconURIfor this scope.voidsetName(String name)Sets a name for this scope.StringtoString()- 
Methods inherited from class org.keycloak.models.map.authorization.adapter.AbstractScopeModelequals, hashCode
 - 
Methods inherited from class org.keycloak.authorization.model.AbstractAuthorizationModelthrowExceptionIfReadonly
 
- 
 
- 
- 
- 
Constructor Detail- 
MapScopeAdapterpublic MapScopeAdapter(RealmModel realm, ResourceServer resourceServer, MapScopeEntity entity, StoreFactory storeFactory) 
 
- 
 - 
Method Detail- 
getIdpublic String getId() Description copied from interface:ScopeReturns the unique identifier for this instance.- Returns:
- the unique identifier for this instance
 
 - 
getNamepublic String getName() Description copied from interface:ScopeReturns the name of this scope.- Returns:
- the name of this scope
 
 - 
setNamepublic void setName(String name) Description copied from interface:ScopeSets a name for this scope. The name must be unique.- Parameters:
- name- the name of this scope
 
 - 
getDisplayNamepublic String getDisplayName() Description copied from interface:ScopeReturns the end user friendly name for this scope. If not defined, value forScope.getName()is returned.- Returns:
- the friendly name for this scope
 
 - 
setDisplayNamepublic void setDisplayName(String name) Description copied from interface:ScopeSets an end user friendly name for this scope.- Parameters:
- name- the name of this scope
 
 - 
getIconUripublic String getIconUri() Description copied from interface:ScopeReturns an iconURIfor this scope.- Returns:
- a uri for an icon
 
 - 
setIconUripublic void setIconUri(String iconUri) Description copied from interface:ScopeSets an iconURIfor this scope.
 - 
getResourceServerpublic ResourceServer getResourceServer() Description copied from interface:ScopeReturns theResourceServerinstance to where this scope belongs to.- Returns:
 
 
- 
 
-