public class PolicyReaderImpl extends Object implements PolicyReader
| Constructor and Description |
|---|
PolicyReaderImpl() |
PolicyReaderImpl(String url) |
| Modifier and Type | Method and Description |
|---|---|
Status |
getPolicy(String alias,
String policyId)
Gets a policy
|
Status |
getPolicySet(String alias,
String policySetId)
Gets a policy set
|
Status |
listPolicies(String alias)
Lists all the policies in the PAP
|
Status |
listPolicySets(String alias)
Lists all the policy sets in the PAP
|
void |
setUrl(String url) |
public PolicyReaderImpl()
public PolicyReaderImpl(String url)
public void setUrl(String url)
url - public Status listPolicies(String alias)
listPolicies in interface PolicyReaderalias - the PAP alias (can be null)public Status getPolicy(String alias, String policyId)
getPolicy in interface PolicyReaderalias - the PAP alias (can be null)policyId - the id of the policypublic Status listPolicySets(String alias)
listPolicySets in interface PolicyReaderalias - the PAP alias (can be null)public Status getPolicySet(String alias, String policySetId)
getPolicySet in interface PolicyReaderalias - the PAP alias (can be null)policySetId - the id of the policyCopyright © 2016. All Rights Reserved.