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://download.oracle.com/docs/cd/E13222_01/wls/docs103
Copyright 1996,2008, 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.