admininformation = new AdminInformation(((X509Certificate[]) request.getAttribute( "javax.servlet.request.X509Certificate" ))[0]);
    public void initialize(HttpServletRequest request, EjbcaWebBean ejbcawebbean) 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]);                final ServiceLocator locator = ServiceLocator.getInstance();        ILogSessionLocalHome logsessionhome = (ILogSessionLocalHome) locator.getLocalHome(ILogSessionLocalHome.COMP_NAME);        logsession = logsessionhome.create();                 ICertificateStoreSessionLocalHome certificatesessionhome = (ICertificateStoreSessionLocalHome) locator.getLocalHome(ICertificateStoreSessionLocalHome.COMP_NAME);        certificatesession = certificatesessionhome.create();                this.informationmemory = ejbcawebbean.getInformationMemory();                initializeEventNameTables(ejbcawebbean);                        dnproxy = new SubjectDNProxy(admin, certificatesession);                   		HashMap caidtonamemap = ejbcawebbean.getInformationMemory().getCAIdToNameMap();                // Add Internal CA Name if it doesn't exists        if(caidtonamemap.get(new Integer(ILogSessionLocal.INTERNALCAID)) == null){			caidtonamemap.put(new Integer(ILogSessionLocal.INTERNALCAID),ejbcawebbean.getText("INTERNALCA"));        }                      logentriesview = new LogEntriesView(dnproxy, localinfoeventnamesunsorted, localerroreventnamesunsorted, localmodulenamesunsorted,  caidtonamemap);        initialized =true;       }    }