| 
 | 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 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface PolicyCollectionHandler
An authorization provider that wishes to consume policy sets implements the PolicyCollectionHandler interface.
| Method Summary | |
|---|---|
| abstract  void | done()Signals the completion of the policy collection. | 
| abstract  void | setPolicy(Resource resource, String[] roleNames)Set a policy for the specified resource using the supplied roles names. | 
| abstract  void | setUncheckedPolicy(Resource resource)Set a policy which always grants access to the specified resource. | 
| Method Detail | 
|---|
void setPolicy(Resource resource,
               String[] roleNames)
               throws ConsumptionException
resource - the Resource object to which the policy applies.roleNames - a String array of roles that defines the policy.ConsumptionExceptionConsumptionException
void setUncheckedPolicy(Resource resource)
                        throws ConsumptionException
resource - the Resource object to which the policy applies.ConsumptionExceptionConsumptionException
void done()
          throws ConsumptionException
ConsumptionExceptionConsumptionException| 
 | 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 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||