/**
  * Removes a security access for the named action. This does not take into account the "*" action
  * when the "*" is not the named action.
  *
  * @param String access name of access to remove in its entirety
  */
 public void revokeAccess(String action) {
   List list = getAccesses();
   for (int i = 0; i < list.size(); i++) {
     BaseSecurityAccess access = (BaseSecurityAccess) list.get(i);
     if (access.getAction().equals(action)) {
       list.remove(i);
       return;
     }
   }
 }
  /**
   * Returns the SecurityAccess object for the <code>action</code> requested or null if no specific
   * access is defined for this action. The "*" does change this, if an action is not specifically
   * defined in the registry, null is returned
   *
   * @param SecurityEntry entry SecurityEntry to check against
   * @param String action The action we want the access for.
   * @return SecurityAccess that is defined for this action or <code>null</code> if one is not
   *     <strong>specifically defined</strong>
   */
  public SecurityAccess getAccess(String action) {
    Iterator itr = getAccesses().iterator();
    while (itr.hasNext()) {
      BaseSecurityAccess access = (BaseSecurityAccess) itr.next();
      if (access.getAction().equals(action)) {
        return access;
      }
    }

    return null;
  }