javax.security.jacc
Class EJBMethodPermission.MethodSpec
java.lang.Object
javax.security.jacc.EJBMethodPermission.MethodSpec
- Enclosing class:
- EJBMethodPermission
- private static class EJBMethodPermission.MethodSpec
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
methodName
protected java.lang.String methodName
methodInterface
protected java.lang.String methodInterface
methodParams
protected java.lang.String methodParams
actions
protected java.lang.String actions
EJBMethodPermission.MethodSpec
public EJBMethodPermission.MethodSpec(java.lang.String actionString)
EJBMethodPermission.MethodSpec
public EJBMethodPermission.MethodSpec(java.lang.String mthdName,
java.lang.String mthdInterface,
java.lang.String[] methodParamsArray)
EJBMethodPermission.MethodSpec
public EJBMethodPermission.MethodSpec(java.lang.String mthdInterface,
java.lang.reflect.Method method)
equals
public boolean equals(EJBMethodPermission.MethodSpec spec)
getActions
public java.lang.String getActions()
hashCode
public int hashCode()
implies
public boolean implies(EJBMethodPermission.MethodSpec methodSpec)
initActions
private void initActions()
checkMethodInterface
private void checkMethodInterface(java.lang.String methodInterface)
emptyNullCheck
private java.lang.String emptyNullCheck(java.lang.String name)
- For the method name, method interface, and method parameters, a
value of
null
indicates a wildcard value. This
function is used to check if we are passed a null
or empty string, which indicates a wildcard.
- Parameters:
name
- The name to be checked.
- Returns:
null
if we are passed a null
or empty string else
we return the name.