debug("<getEndEntityProfile(id)");
if (log.isDebugEnabled()) { debug("<getEndEntityProfile(id): "+returnval == null ? "null":"not null"); }
    public EndEntityProfile getEndEntityProfile(Admin admin, int id){        debug(">getEndEntityProfile(id)");        EndEntityProfile returnval=null;        try{            if(id==SecConst.EMPTY_ENDENTITYPROFILE) {                returnval = new EndEntityProfile(true);            }            if(id!=0 && id != SecConst.EMPTY_ENDENTITYPROFILE) {                returnval = (profiledatahome.findByPrimaryKey(new Integer(id))).getProfile();            }        }catch(FinderException e){            // Ignore so we'll return null        }        debug("<getEndEntityProfile(id)");        return returnval;    } // getEndEntityProfile