admininformation = new AdminInformation(((X509Certificate[]) request.getAttribute( "javax.servlet.request.X509Certificate"))[0]);
    public void initialize(HttpServletRequest request)        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();            IHardTokenSessionHome hardtokensessionhome = (IHardTokenSessionHome) javax.rmi.PortableRemoteObject.narrow(jndicontext.lookup(                        "HardTokenSession"), IHardTokenSessionHome.class);            hardtokensession = hardtokensessionhome.create();            IHardTokenBatchJobSessionHome hardtokenbatchsessionhome = (IHardTokenBatchJobSessionHome) javax.rmi.PortableRemoteObject.narrow(jndicontext.lookup(                        "HardTokenBatchJobSession"), IHardTokenBatchJobSessionHome.class);            hardtokenbatchsession = hardtokenbatchsessionhome.create();            availablehardtokens = hardtokensession.getAvailableHardTokens();            initialized = true;        }    }