Oracle

weblogic.security.spi
Interface RoleConsumer


public interface RoleConsumer

A role provider that wishes to consume roles implements the RoleConsumer interface.


Method Summary
 RoleCollectionHandler getRoleCollectionHandler(RoleCollectionInfo info)
          Obtain a role handler for consumption of a role set.
 

Method Detail

getRoleCollectionHandler

RoleCollectionHandler getRoleCollectionHandler(RoleCollectionInfo info)
Obtain a role handler for consumption of a role set.

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

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