|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyDistributionManager
PolicyDistributionManager interface defines the methods to trigger policy distribution and get the status report.
Method Summary | |
---|---|
void |
deregisterPDP(java.lang.String pdpAddress) Removes a PDP instance registration. |
java.lang.String |
distributePolicy(boolean flush) Starts policy distribution asynchronously. |
java.util.List<DistributionStatusEntry> |
getDistributionStatus(java.util.Date startTime, java.util.Date endTime) Gets the distribution status in a specific time period. |
DistributionStatusEntry |
getDistributionStatus(java.lang.String distributionID) Gets the status of ongoing or recent distribution according to the distribution ID. |
PDPInfoEntry |
getRegisteredPDP(java.lang.String pdpAddress) Gets the registered PDP instance according to the address of PDP |
java.util.List<PDPInfoEntry> |
getRegisteredPDPs(boolean outOfSyncOnly) Gets the registered PDP instances, including remote PDPs and local PDPs (for example, in Micro SM environment). |
long |
purgeDistributionStatusBefore(java.util.Date time) Purges obsolete distribution status records. |
Methods inherited from interface oracle.security.jps.service.policystore.entitymanager.EntityManager |
---|
resolveReference |
Method Detail |
---|
java.lang.String distributePolicy(boolean flush) throws PolicyStoreException
flush
- indicates the policy distribution mode: true - flush mode; false - incremental mode.PolicyStoreException
- if something error happens in the policy store.DistributionStatusEntry getDistributionStatus(java.lang.String distributionID) throws PolicyStoreException
distributionID
- a unique ID returned by calling distributePolicy method.PolicyStoreException
- if something error happens in the policy store.java.util.List<DistributionStatusEntry> getDistributionStatus(java.util.Date startTime, java.util.Date endTime) throws PolicyStoreException
startTime
- the time after which the distribution has started.endTime
- the time before which the distribution has started.PolicyStoreException
- if something error happens in the policy store.long purgeDistributionStatusBefore(java.util.Date time) throws PolicyStoreException
time
- the time before which the distribution has started.PolicyStoreException
- if something error happens in the policy store.java.util.List<PDPInfoEntry> getRegisteredPDPs(boolean outOfSyncOnly) throws PolicyStoreException
outOfSyncOnly
- indicates whether to get the out-of-sync PDPS only. Out of sync PDP means it does not receive the latest policy, which may be caused by PDP is shutdown. Use true to get the out of sync PDP instance only; use false to get all registered PDP instances.PolicyStoreException
- if something error happens in the policy store.void deregisterPDP(java.lang.String pdpAddress) throws PolicyObjectNotFoundException, PolicyStoreException
pdpAddress
- the address of PDPPolicyObjectNotFoundException
- if the specified PDP does not exist.PolicyStoreException
- if something error happens in the policy store.PDPInfoEntry getRegisteredPDP(java.lang.String pdpAddress) throws PolicyStoreException
pdpAddress
- the address of PDPPolicyStoreException
- if something error happens in the policy store.
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |