private void mapCommand(String uri, Attributes atts) {
        String attrCmdName = atts.getValue(uri, "name");
        String attrCmdClassName = atts.getValue(uri, "class");
        String attrSecure = atts.getValue(uri, "secure");
        String attrCtxtAware = atts.getValue(uri, "contextAware");
        // Make sure the two command attributes have values.
        if( (attrCmdName == null || "".equals(attrCmdName.trim())) ||
            (attrCmdClassName == null || "".equals(attrCmdClassName.trim())) ) {
        	ignoreCurrentCommand = true;
        }
        else {
        	cmdName = attrCmdName;
        	cmdClassName = attrCmdClassName;
        }
        
        // Grab the optional parameters that will just default to values
        // instead of causing the command to be ignored.
        if( attrSecure != null && !"".equals(attrSecure.trim()) ) {
        	attrSecure = attrSecure.trim();
        	isSecure = "true".equalsIgnoreCase(attrSecure);
        }
        if( attrCtxtAware != null && !"".equals(attrCtxtAware.trim()) ) {
        	attrCtxtAware = attrCtxtAware.trim();
        	isContextAware = "true".equalsIgnoreCase(attrCtxtAware);
        }
    }