public interface IRootPolicyManagementPoint extends IComponent
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAlias(EnforcementScopeId enforcementScope,
String alias)
Adds an alias for a given enforcement scope.
|
boolean |
addToGroup(GroupId groupId,
EnforcementScopeId enforcementScope)
Adds an enforcement scope to a group.
|
boolean |
addURI(ComponentId componentId,
String uri)
Adds a URL to an already registered client PMP.
|
PolicyId |
deployPolicy(EnforcementScopeId enforcementScope,
PolicyId policyId,
List<Parameter<String>> policyParameters)
Deploys a policy at the PDP of the enforcement scope.
|
PolicyId |
deployPolicy(GroupId groupId,
PolicyId policyId,
List<Parameter<String>> policyParameters,
boolean keepWhenLeaving)
Deploys a policy at all enforcement scopes of the given group.
|
PolicyId |
deployPolicy(String alias,
PolicyId policyId,
List<Parameter<String>> policyParameters)
Deploys a policy at the PDP of the enforcement scope.
|
PolicyId |
deployPolicy(String expression,
PolicyId policyId,
List<Parameter<String>> policyParameters,
boolean keepWhenLeaving)
Deploys a policy at all enforcement scopes that match the regular
expression.
|
List<EnforcementScopeId> |
getEnforcementScopes(GroupId group)
Resolves all enforcement scopes of a certain group.
|
List<EnforcementScopeId> |
getEnforcementScopes(String expression)
Resolves all enforcement scopes that match the regular expression.
|
List<Component> |
lookupPmp(EnforcementScopeId enforcementScope)
Resolves a PMP.
|
List<Component> |
lookupPmpByGroup(GroupId group)
Resolves all client PMPs of a certain group.
|
List<Component> |
lookupPmpByGroup(String expression)
Resolves all PMPs that match the regular expression.
|
boolean |
registerPmp(ComponentId componentId,
EnforcementScopeId enforcementScope,
EnforcementScopeTypeId esType,
List<URI> urls,
List<String> aliases)
Registers a client PMP and an enforcement scope.
|
boolean |
removeAlias(EnforcementScopeId enforcementScope,
String alias)
Removes an alias for a given enforcement scope.
|
boolean |
removeFromGroup(GroupId groupId,
EnforcementScopeId enforcementScope)
Removes an enforcement scope from a group.
|
boolean |
removeURI(ComponentId componentId,
String uri)
Removes a URL of an already registered client PMP.
|
boolean |
unregisterPmp(ComponentId componentId)
Removed a PMP and enforcement scope.
|
boolean |
updateType(EnforcementScopeId enforcementScope,
EnforcementScopeTypeId type,
EnforcementScope desc)
Updates the type of the given enforcement scope.
|
getHealth, getId, initialize, resetboolean addAlias(EnforcementScopeId enforcementScope, String alias) throws IOException
enforcementScope - the enforcement scopealias - an alias for the enforcement scope (e.g., an IP address)IOException - communication failureboolean addToGroup(GroupId groupId, EnforcementScopeId enforcementScope) throws IOException
groupId - the target groupenforcementScope - the ID of the enforcement scope to be addedIOException - communication failureboolean addURI(ComponentId componentId, String uri) throws IOException
componentId - the ID of the PMPuri - the URI to addIOException - communication failurePolicyId deployPolicy(EnforcementScopeId enforcementScope, PolicyId policyId, List<Parameter<String>> policyParameters) throws IOException
enforcementScope - the target systempolicyId - the id of the policy to be deployed. Will be retrieved via
the PRPpolicyParameters - a list of parameters that is used to instantiate
policy templatesPolicyId of the deployed policy, or null if the
operation failsIOException - communication failurePolicyId deployPolicy(GroupId groupId, PolicyId policyId, List<Parameter<String>> policyParameters, boolean keepWhenLeaving) throws IOException
groupId - the ID of the target grouppolicyId - the id of the policy to be deployed. Will be retrieved via
the PRPpolicyParameters - a list of parameters that is used to instantiate
policy templateskeepWhenLeaving - when set to false, the policy will be revoked when
an enforcement scope leaves the groupPolicyId of the deployed policy, or null if the
operation failsIOException - communication failurePolicyId deployPolicy(String alias, PolicyId policyId, List<Parameter<String>> policyParameters) throws IOException
alias - the alias (e.g., IP or MAC address) target systempolicyId - the id of the policy to be deployed. Will be retrieved via
the PRPpolicyParameters - a list of parameters that is used to instantiate
policy templatesPolicyId of the deployed policy, or null if the
operation failsIOException - communication failurePolicyId deployPolicy(String expression, PolicyId policyId, List<Parameter<String>> policyParameters, boolean keepWhenLeaving) throws IOException
expression - an expression that matches groups or enforcement scopespolicyId - the id of the policy to be deployed. Will be retrieved via
the PRPpolicyParameters - a list of parameters that is used to instantiate
policy templateskeepWhenLeaving - when set to false, the policy will be revoked when
an enforcement scope does not match the expressionPolicyId of the deployed policy, or null if the
operation failsIOException - communication failureList<EnforcementScopeId> getEnforcementScopes(GroupId group) throws IOException
group - the group IDIOException - communication failureList<EnforcementScopeId> getEnforcementScopes(String expression) throws IOException
expression - a regular expression that is matched against the
EnforcementScopeIdIOException - communication failureList<Component> lookupPmp(EnforcementScopeId enforcementScope) throws IOException
enforcementScope - the ID of the target enforcement scopeIOException - communication failureList<Component> lookupPmpByGroup(GroupId group) throws IOException
group - the group IDIOException - communication failureList<Component> lookupPmpByGroup(String expression) throws IOException
expression - a regular expression that is matched against the
ComponentIdIOException - communication failureboolean registerPmp(ComponentId componentId, EnforcementScopeId enforcementScope, EnforcementScopeTypeId esType, List<URI> urls, List<String> aliases) throws IOException
componentId - the ID of the PMP of the enforcement scopeenforcementScope - the ID of the enforcement scopeesType - the type of the enforcement scopeurls - the urlsaliases - a list of aliases for the enforcement scopeIOException - communication failureboolean removeAlias(EnforcementScopeId enforcementScope, String alias) throws IOException
enforcementScope - the enforcement scopealias - the alias for the enforcement scope (e.g., an IP address) that
should be removedIOException - communication failureboolean removeFromGroup(GroupId groupId, EnforcementScopeId enforcementScope) throws IOException
groupId - the target groupenforcementScope - the ID of the enforcement scope to be removedIOException - communication failureboolean removeURI(ComponentId componentId, String uri) throws IOException
componentId - the ID of the PMPuri - the URI to removeIOException - communication failureboolean unregisterPmp(ComponentId componentId) throws IOException
componentId - the ID of the client PMPIOException - communication failureboolean updateType(EnforcementScopeId enforcementScope, EnforcementScopeTypeId type, EnforcementScope desc) throws IOException
enforcementScope - the ID of the enforcement scopetype - the new type IDdesc - the new typeIOException - communication failureCopyright © 2018. All rights reserved.