Class ResourceServerAdapter
java.lang.Object
org.keycloak.models.cache.infinispan.authorization.ResourceServerAdapter
- All Implemented Interfaces:
CachedModel<ResourceServer>,ResourceServer
public class ResourceServerAdapter
extends Object
implements ResourceServer, CachedModel<ResourceServer>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CachedResourceServerprotected StoreFactoryCacheSessionprotected booleanprotected ResourceServer -
Constructor Summary
ConstructorsConstructorDescriptionResourceServerAdapter(CachedResourceServer cached, StoreFactoryCacheSession cacheSession) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetId()inthashCode()voidprotected voidbooleanprotected booleanvoidsetAllowRemoteResourceManagement(boolean allowRemoteResourceManagement) voidsetDecisionStrategy(DecisionStrategy decisionStrategy) voidsetPolicyEnforcementMode(PolicyEnforcementMode enforcementMode)
-
Field Details
-
cached
-
cacheSession
-
updated
-
invalidated
protected boolean invalidated
-
-
Constructor Details
-
ResourceServerAdapter
-
-
Method Details
-
getDelegateForUpdate
- Specified by:
getDelegateForUpdatein interfaceCachedModel<ResourceServer>
-
invalidateFlag
protected void invalidateFlag() -
invalidate
public void invalidate()- Specified by:
invalidatein interfaceCachedModel<ResourceServer>
-
getCacheTimestamp
public long getCacheTimestamp()- Specified by:
getCacheTimestampin interfaceCachedModel<ResourceServer>
-
isUpdated
protected boolean isUpdated() -
getId
- Specified by:
getIdin interfaceResourceServer
-
isAllowRemoteResourceManagement
public boolean isAllowRemoteResourceManagement()- Specified by:
isAllowRemoteResourceManagementin interfaceResourceServer
-
setAllowRemoteResourceManagement
public void setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement) - Specified by:
setAllowRemoteResourceManagementin interfaceResourceServer
-
getPolicyEnforcementMode
- Specified by:
getPolicyEnforcementModein interfaceResourceServer
-
setPolicyEnforcementMode
- Specified by:
setPolicyEnforcementModein interfaceResourceServer
-
getDecisionStrategy
- Specified by:
getDecisionStrategyin interfaceResourceServer
-
setDecisionStrategy
- Specified by:
setDecisionStrategyin interfaceResourceServer
-
getClientId
- Specified by:
getClientIdin interfaceResourceServer
-
equals
-
hashCode
public int hashCode()
-