public void initialize(HttpServletRequest request) throws  Exception{
public void initialize(HttpServletRequest request, EjbcaWebBean ejbcawebbean) throws  Exception{
    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();        IHardTokenSessionLocalHome hardtokensessionhome = (IHardTokenSessionLocalHome) javax.rmi.PortableRemoteObject.narrow(jndicontext.lookup("java:comp/env/HardTokenSessionLocal"),                                                                                 IHardTokenSessionLocalHome.class);        hardtokensession = hardtokensessionhome.create();        IHardTokenBatchJobSessionLocalHome  hardtokenbatchsessionhome = (IHardTokenBatchJobSessionLocalHome) javax.rmi.PortableRemoteObject.narrow(jndicontext.lookup("java:comp/env/HardTokenBatchJobSessionLocal"),                                                                                 IHardTokenBatchJobSessionLocalHome.class);        hardtokenbatchsession = hardtokenbatchsessionhome.create();        availablehardtokens = hardtokensession.getAvailableHardTokens();        initialized=true;      }    }