| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface RoleCollectionHandler
A role provider that wishes to consume roles
 implements the RoleCollectionHandler interface.
| Method Summary | |
|---|---|
|  void | done()Signals the completion of the role collection. | 
|  void | setRole(Resource resource,
        String roleName,
        String[] userAndGroupNames)Set the role to give set of users and groups for the specified resource using the supplied information. | 
| Method Detail | 
|---|
void setRole(Resource resource,
             String roleName,
             String[] userAndGroupNames)
             throws ConsumptionException
resource - the Resource object to
                 which the role applies.roleName - a String the role name.userAndGroupNames - a String[] that defines what user names and group names that are
                                                        to be assigned to that role for the given resource.
ConsumptionExceptionConsumptionException
void done()
          throws ConsumptionException
ConsumptionExceptionConsumptionException| 
 | 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 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||