Class MapAuthorizationStore
- java.lang.Object
- 
- org.keycloak.models.map.authorization.MapAuthorizationStore
 
- 
- All Implemented Interfaces:
- StoreFactory,- Provider
 
 public class MapAuthorizationStore extends Object implements StoreFactory - Author:
- mhajas
 
- 
- 
Constructor SummaryConstructors Constructor Description MapAuthorizationStore(MapStorage<MapPermissionTicketEntity,PermissionTicket> permissionTicketStore, MapStorage<MapPolicyEntity,Policy> policyStore, MapStorage<MapResourceServerEntity,ResourceServer> resourceServerStore, MapStorage<MapResourceEntity,Resource> resourceStore, MapStorage<MapScopeEntity,Scope> scopeStore, AuthorizationProvider provider)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()MapPermissionTicketStoregetPermissionTicketStore()Returns aPermissionTicketStore.MapPolicyStoregetPolicyStore()Returns aPolicyStore.MapResourceServerStoregetResourceServerStore()Returns aResourceServerStore.MapResourceStoregetResourceStore()Returns aResourceStore.MapScopeStoregetScopeStore()Returns aScopeStore.booleanisReadOnly()Indicates if instances returned from storage are read-only.voidsetReadOnly(boolean readOnly)Sets whether or not changes to instances returned from this factory are supported.
 
- 
- 
- 
Constructor Detail- 
MapAuthorizationStorepublic MapAuthorizationStore(MapStorage<MapPermissionTicketEntity,PermissionTicket> permissionTicketStore, MapStorage<MapPolicyEntity,Policy> policyStore, MapStorage<MapResourceServerEntity,ResourceServer> resourceServerStore, MapStorage<MapResourceEntity,Resource> resourceStore, MapStorage<MapScopeEntity,Scope> scopeStore, AuthorizationProvider provider) 
 
- 
 - 
Method Detail- 
getResourceStorepublic MapResourceStore getResourceStore() Description copied from interface:StoreFactoryReturns aResourceStore.- Specified by:
- getResourceStorein interface- StoreFactory
- Returns:
- the resource store
 
 - 
getResourceServerStorepublic MapResourceServerStore getResourceServerStore() Description copied from interface:StoreFactoryReturns aResourceServerStore.- Specified by:
- getResourceServerStorein interface- StoreFactory
- Returns:
- the resource server store
 
 - 
getScopeStorepublic MapScopeStore getScopeStore() Description copied from interface:StoreFactoryReturns aScopeStore.- Specified by:
- getScopeStorein interface- StoreFactory
- Returns:
- the scope store
 
 - 
getPolicyStorepublic MapPolicyStore getPolicyStore() Description copied from interface:StoreFactoryReturns aPolicyStore.- Specified by:
- getPolicyStorein interface- StoreFactory
- Returns:
- the policy store
 
 - 
getPermissionTicketStorepublic MapPermissionTicketStore getPermissionTicketStore() Description copied from interface:StoreFactoryReturns aPermissionTicketStore.- Specified by:
- getPermissionTicketStorein interface- StoreFactory
- Returns:
- the permission ticket store
 
 - 
setReadOnlypublic void setReadOnly(boolean readOnly) Description copied from interface:StoreFactorySets whether or not changes to instances returned from this factory are supported. Once marked as read-only, any attempt to change state will throw anIllegalStateException.- Specified by:
- setReadOnlyin interface- StoreFactory
- Parameters:
- readOnly- if true, changes are not supported
 
 - 
isReadOnlypublic boolean isReadOnly() Description copied from interface:StoreFactoryIndicates if instances returned from storage are read-only.- Specified by:
- isReadOnlyin interface- StoreFactory
- Returns:
- if true, instances only support reads.
 
 
- 
 
-