com.bea.p13n.entitlements.service
Class P13nContextHandler

java.lang.Object
  extended by com.bea.p13n.entitlements.service.P13nContextHandler
All Implemented Interfaces
ServerLocal, Serializable

public class P13nContextHandler
extends Object
implements Serializable, ServerLocal

This class provides a wrapper for passing optional arguments to the runtime Authorization.isAccessAllowed() method. An instance of this class is created using the EntitlementHelper.createP13nContextHandler() method. Within WLP, this class passes expression predicate attributes used during evaluation of entitlements.

See Also
Serialized Form

Field Summary
static P13nContextHandler EMPTY
           
 
Constructor Summary
P13nContextHandler(String[] names, Object[] values)
           
 
Method Summary
 String[] getNames()
           
 Object getValue(String name)
           
 ContextElement[] getValues(String[] requested)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final P13nContextHandler EMPTY
Constructor Detail

P13nContextHandler

public P13nContextHandler(String[] names,
                          Object[] values)
Method Detail

size

public int size()

getNames

public String[] getNames()

getValue

public Object getValue(String name)

getValues

public ContextElement[] getValues(String[] requested)


Copyright © 2006 BEA Systems, Inc. All Rights Reserved