# com.bea.p13n.entitlements.service
P13nContextHandler Class

public class P13nContextHandler
extends `Object`
implements `ContextHandler`, `Serializable`

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.

Hierarchy
  `Object`
  `P13nContextHandler`

All Implemented Interfaces
  `ContextHandler`, `Serializable`

## Field Summary

`public static final `P13nContextHandler`` | `EMPTY` P13nContextHandler

## Constructor Summary

P13nContextHandler(`String` names, `Object` values)

## Method Summary

`public `String`[]` | `getNames`()
`public `Object`` | `getValue`(`String` name)
`public `ContextElement`[]` | `getValues`(`String`[] requested)
`public int` | `size`()

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `weblogic.security.service.`ContextHandler``
`getNames, getValue, getValues, size`

## Field Detail

### EMPTY

    public static final P13nContextHandler EMPTY

## Constructor Detail

### P13nContextHandler

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

## Method Detail

### getNames() Method

    public String[] getNames()

### getValue(String) Method

    public Object getValue(String name)

### getValues(String[]) Method

    public ContextElement[] getValues(String[] requested)

### size() Method

    public int size()