return certificatestoresession.getCertificateProfile(administrator, profilename);
return certificatestoresession.getCertificateProfile(administrator, id);
    public CertificateProfile getCertificateProfile(String profilename) throws AuthorizationDeniedException{     if(!authorizedToProfileName(profilename, false))        throw new AuthorizationDeniedException("Not authorized to certificate profile");                           return certificatestoresession.getCertificateProfile(administrator, profilename);    }