public abstract class MapResourceServerAdapter<K> extends AbstractResourceServerModel<MapResourceServerEntity<K>>
ResourceServer.SearchableFields
entity
storeFactory
Constructor and Description |
---|
MapResourceServerAdapter(MapResourceServerEntity<K> entity,
StoreFactory storeFactory) |
Modifier and Type | Method and Description |
---|---|
DecisionStrategy |
getDecisionStrategy()
Returns the
DecisionStrategy configured for this instance. |
PolicyEnforcementMode |
getPolicyEnforcementMode()
Returns the
PolicyEnforcementMode configured for this instance. |
boolean |
isAllowRemoteResourceManagement()
Indicates if the resource server is allowed to manage its own resources remotely using the Protection API.
|
void |
setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement)
Indicates if the resource server is allowed to manage its own resources remotely using the Protection API.
|
void |
setDecisionStrategy(DecisionStrategy decisionStrategy)
Defines a
DecisionStrategy for this instance, indicating how permissions should be granted depending on the given
decisionStrategy . |
void |
setPolicyEnforcementMode(PolicyEnforcementMode enforcementMode)
Defines a
PolicyEnforcementMode for this instance. |
String |
toString() |
equals, hashCode
throwExceptionIfReadonly
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId
public MapResourceServerAdapter(MapResourceServerEntity<K> entity, StoreFactory storeFactory)
public boolean isAllowRemoteResourceManagement()
ResourceServer
true
if the resource server is allowed to managed them remotelypublic void setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement)
ResourceServer
allowRemoteResourceManagement
- true
if the resource server is allowed to managed them remotelypublic PolicyEnforcementMode getPolicyEnforcementMode()
ResourceServer
PolicyEnforcementMode
configured for this instance.PolicyEnforcementMode
configured for this instance.public void setPolicyEnforcementMode(PolicyEnforcementMode enforcementMode)
ResourceServer
PolicyEnforcementMode
for this instance.enforcementMode
- one of the available options in PolicyEnforcementMode
public void setDecisionStrategy(DecisionStrategy decisionStrategy)
ResourceServer
DecisionStrategy
for this instance, indicating how permissions should be granted depending on the given
decisionStrategy
.decisionStrategy
- the decision strategypublic DecisionStrategy getDecisionStrategy()
ResourceServer
DecisionStrategy
configured for this instance.Copyright © 2021 JBoss by Red Hat. All rights reserved.