|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
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 | |
---|---|
void |
done()
Signals the completion of the policy collection. |
void |
setPolicy(Resource resource,
String[] roleNames)
Set a policy for the specified resource using the supplied roles names. |
void |
setUncheckedPolicy(Resource resource)
Set a policy which always grants access to the specified resource. |
Method Detail |
---|
void setPolicy(Resource resource, String[] roleNames)
resource
- the Resource
object to
which the policy applies.roleNames
- a String
array of roles
that defines the policy.
ConsumptionException
- if the policy cannot
be consumed or processing of the collection fails.void setUncheckedPolicy(Resource resource)
resource
- the Resource
object to
which the policy applies.
ConsumptionException
- if the policy cannot
be consumed or processing of the collection fails.void done()
ConsumptionException
- if the policy cannot
be consumed or processing of the collection fails.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, 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 Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |