BEA Systems, Inc.

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://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.