dnproxy = new SubjectDNProxy(admin, certificatesession);
dnproxy = new SubjectDNProxy(admin, certificatesession);  HashMap caidtonamemap = ejbcawebbean.getInformationMemory().getCAIdToNameMap();   if(caidtonamemap.get(new Integer(ILogSessionLocal.INTERNALCAID)) == null){ caidtonamemap.put(new Integer(ILogSessionLocal.INTERNALCAID),ejbcawebbean.getText("INTERNALCA")); }
    public void initialize(HttpServletRequest request, EjbcaWebBean ejbcawebbean, HashMap caidtonamemap) throws  Exception{      if(!initialized){        admininformation = new AdminInformation(((X509Certificate[]) request.getAttribute( "javax.servlet.request.X509Certificate" ))[0]);          admin           = new Admin(((X509Certificate[]) request.getAttribute( "javax.servlet.request.X509Certificate" ))[0]);                InitialContext jndicontext = new InitialContext();        ILogSessionLocalHome logsessionhome = (ILogSessionLocalHome) javax.rmi.PortableRemoteObject.narrow(jndicontext.lookup("java:comp/env/LogSessionLocal"),                                                                                  ILogSessionLocalHome.class);        logsession = logsessionhome.create();                 ICertificateStoreSessionLocalHome certificatesessionhome = (ICertificateStoreSessionLocalHome) javax.rmi.PortableRemoteObject.narrow(jndicontext.lookup("java:comp/env/CertificateStoreSessionLocal")                                                                                                                                 , ICertificateStoreSessionLocalHome.class);        certificatesession = certificatesessionhome.create();                this.informationmemory = ejbcawebbean.getInformationMemory();                initializeEventNameTables(ejbcawebbean);                        dnproxy = new SubjectDNProxy(admin, certificatesession);                         logentriesview = new LogEntriesView(dnproxy, localinfoeventnamesunsorted, localerroreventnamesunsorted, localmodulenamesunsorted,  caidtonamemap);        initialized =true;       }    }