Base - The base class that is being secured
Secured - The implementation (proxy) of the secured class.
extends SecuredItem> Object
A class that holds the original item and the secured version of it.
This class is used by the Invoker to return secured versions of the object
calls that return the called class for cascading.
Constructor and Description
( ItemHolder Base baseItem)
Get the secured item.
This method is used in the invocation handler to get the instance of the
proxy on which a method call was made. Generally used in returning the original
object to support cascading.
Returns: the proxy.
Secured setSecuredItem( SecuredItemInvoker handler)
Creates the proxy, saves it as the securedItem and returns it.
handler - The SecuredItemInvoker to create the proxy with.
Returns: The proxy.
Licensed under the Apache License, Version 2.0