debug(">getEndEntityProfileId(profilename)");
    public int getEndEntityProfileId(Admin admin, String profilename){      int returnval = 0;      if(profilename.trim().equalsIgnoreCase(EMPTY_ENDENTITYPROFILENAME))        return SecConst.EMPTY_ENDENTITYPROFILE;      try{        Integer id = (profiledatahome.findByProfileName(profilename)).getId();        returnval = id.intValue();      }catch(FinderException e){          // Ignore so we'll return 0      }      return returnval;    } // getEndEntityrofileId