public abstract class MapPolicyAdapter<K> extends AbstractPolicyModel<MapPolicyEntity<K>>
Policy.FilterOption, Policy.SearchableFieldsentitystoreFactoryCONFIG_SEPARATOR| Constructor and Description |
|---|
MapPolicyAdapter(MapPolicyEntity<K> entity,
StoreFactory storeFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssociatedPolicy(Policy associatedPolicy) |
void |
addResource(Resource resource) |
void |
addScope(Scope scope) |
Set<Policy> |
getAssociatedPolicies() |
Map<String,String> |
getConfig() |
DecisionStrategy |
getDecisionStrategy() |
String |
getDescription() |
Logic |
getLogic() |
String |
getName() |
String |
getOwner() |
Set<Resource> |
getResources() |
ResourceServer |
getResourceServer() |
Set<Scope> |
getScopes() |
String |
getType() |
void |
putConfig(String name,
String value) |
void |
removeAssociatedPolicy(Policy associatedPolicy) |
void |
removeConfig(String name) |
void |
removeResource(Resource resource) |
void |
removeScope(Scope scope) |
void |
setConfig(Map<String,String> config) |
void |
setDecisionStrategy(DecisionStrategy decisionStrategy) |
void |
setDescription(String description) |
void |
setLogic(Logic logic) |
void |
setName(String name) |
void |
setOwner(String owner) |
String |
toString() |
equals, hashCodethrowExceptionIfReadonlypublic MapPolicyAdapter(MapPolicyEntity<K> entity, StoreFactory storeFactory)
public String getType()
public DecisionStrategy getDecisionStrategy()
public void setDecisionStrategy(DecisionStrategy decisionStrategy)
public Logic getLogic()
public void setLogic(Logic logic)
public void removeConfig(String name)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public ResourceServer getResourceServer()
public String getOwner()
public void setOwner(String owner)
public void addScope(Scope scope)
public void removeScope(Scope scope)
public void addAssociatedPolicy(Policy associatedPolicy)
public void removeAssociatedPolicy(Policy associatedPolicy)
public void addResource(Resource resource)
public void removeResource(Resource resource)
Copyright © 2021 JBoss by Red Hat. All rights reserved.