Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.security.spi
Interface PolicyConsumer


public interface PolicyConsumer

An authorization provider that wishes to consume policy implements the PolicyConsumer interface.


Method Summary
 PolicyCollectionHandler getPolicyCollectionHandler(PolicyCollectionInfo info)
          Obtain a policy handler for consumption of a policy set.
 

Method Detail

getPolicyCollectionHandler

PolicyCollectionHandler getPolicyCollectionHandler(PolicyCollectionInfo info)
                                                   throws ConsumptionException
Obtain a policy handler for consumption of a policy set.

Parameters:
info - the PolicyCollectionInfo for the policy set.
Returns:
a PolicyCollectionHandler or NULL which indicates that the policy set is not needed.
Throws:
ConsumptionException - if an error occurs obtaining the handler and the policy set cannot be consumed.
ConsumptionException

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02