Oracle

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)
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.

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle