ariba.util.core
Class SystemUtil.ValidCaller
java.lang.Object
ariba.util.core.SystemUtil.ValidCaller
- Enclosing class:
- SystemUtil
public static class SystemUtil.ValidCaller
- extends java.lang.Object
A simple bean to hold the attributes of a valid caller for use by validateCaller
method. See constructor for details.
Constructor Summary |
SystemUtil.ValidCaller(java.lang.String className,
java.lang.String methodName,
boolean classNameIsPrefix,
boolean checkFullStack)
Definition of a valid caller. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_className
public final java.lang.String _className
_methodName
public final java.lang.String _methodName
_classNameIsPrefix
public final boolean _classNameIsPrefix
_checkFullStack
public final boolean _checkFullStack
SystemUtil.ValidCaller
public SystemUtil.ValidCaller(java.lang.String className,
java.lang.String methodName,
boolean classNameIsPrefix,
boolean checkFullStack)
- Definition of a valid caller.
- Parameters:
className
- the full class name (package name plus class name).
If classNameIsPrefix is true this is a prefix for the class
name, typically a package name.methodName
- the method name. If null, any method in class is valid.
Note that method signature is not checked.classNameIsPrefix
- when true the className is a prefix. Any full class
name that starts with the className prefix is valid.
Typically this is used to validate an entire package.checkFullStack
- if true, the full stack is searched for a match.
This is useful when there is unknown methods (such as
reflection methods) on the stack before the valid method.
If false, only the immediately caller of the requesting
method is checked.
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.