Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.security.spi
Interface RoleCollectionHandler


public interface RoleCollectionHandler

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


Method Summary
abstract  void done()
          Signals the completion of the role collection.
abstract  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

setRole

void setRole(Resource resource,
             String roleName,
             String[] userAndGroupNames)
             throws ConsumptionException
Set the role to give set of users and groups for the specified resource using the supplied information.
Parameters:
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.
Throws:
ConsumptionException - if the roles cannot be consumed or processing of the roles fails.
ConsumptionException

done

void done()
          throws ConsumptionException
Signals the completion of the role collection.
Throws:
ConsumptionException - if the roles cannot be consumed or processing of the roles fail.
ConsumptionException

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09