public class CachedPolicy extends Object implements Policy
Policy.DecisionStrategy, Policy.Logic| Constructor and Description |
|---|
CachedPolicy(Policy policy) |
CachedPolicy(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssociatedPolicy(Policy associatedPolicy) |
void |
addResource(Resource resource) |
void |
addScope(Scope scope) |
boolean |
equals(Object o) |
Set<Policy> |
getAssociatedPolicies() |
Set<String> |
getAssociatedPoliciesIds() |
Map<String,String> |
getConfig() |
Policy.DecisionStrategy |
getDecisionStrategy() |
String |
getDescription() |
String |
getId() |
Policy.Logic |
getLogic() |
String |
getName() |
Set<Resource> |
getResources() |
ResourceServer |
getResourceServer() |
String |
getResourceServerId() |
Set<String> |
getResourcesIds() |
Set<Scope> |
getScopes() |
Set<String> |
getScopesIds() |
String |
getType() |
int |
hashCode() |
void |
removeAssociatedPolicy(Policy associatedPolicy) |
void |
removeResource(Resource resource) |
void |
removeScope(Scope scope) |
void |
setConfig(Map<String,String> config) |
void |
setDecisionStrategy(Policy.DecisionStrategy decisionStrategy) |
void |
setDescription(String description) |
void |
setLogic(Policy.Logic logic) |
void |
setName(String name) |
public CachedPolicy(Policy policy)
public CachedPolicy(String id)
public Policy.DecisionStrategy getDecisionStrategy()
getDecisionStrategy in interface Policypublic void setDecisionStrategy(Policy.DecisionStrategy decisionStrategy)
setDecisionStrategy in interface Policypublic Policy.Logic getLogic()
public void setLogic(Policy.Logic logic)
public String getDescription()
getDescription in interface Policypublic void setDescription(String description)
setDescription in interface Policypublic ResourceServer getResourceServer()
getResourceServer in interface Policypublic void removeScope(Scope scope)
removeScope in interface Policypublic void addAssociatedPolicy(Policy associatedPolicy)
addAssociatedPolicy in interface Policypublic void removeAssociatedPolicy(Policy associatedPolicy)
removeAssociatedPolicy in interface Policypublic void addResource(Resource resource)
addResource in interface Policypublic void removeResource(Resource resource)
removeResource in interface Policypublic Set<Policy> getAssociatedPolicies()
getAssociatedPolicies in interface Policypublic Set<Resource> getResources()
getResources in interface Policypublic String getResourceServerId()
Copyright © 2016 JBoss by Red Hat. All rights reserved.