Package org.xmlBlaster.protocol

Examples of org.xmlBlaster.protocol.I_Authenticate


      class DumpListener implements ActionListener {
         public void actionPerformed(ActionEvent e) {
            // logOutput.setText("");  // clear log window
            try {
               log.info("Dump start");
               I_Authenticate auth = xmlBlasterMain.getAuthenticate();
               StringBuffer buf = new StringBuffer(auth.toXml());
               buf.append(xmlBlasterMain.getXmlBlaster().toXml());
               LogRecord record = new LogRecord(Level.INFO, buf.toString());
               log(record);
               log.info("Dump end");
            }
View Full Code Here


                  e.printStackTrace();
               }
               if (e.getCause() != null && (e.getCause() instanceof OutOfMemoryError || e.getCause() instanceof IllegalArgumentException)) {
                  e.printStackTrace();
               }
               I_Authenticate auth = this.authenticate;
               if (auth != null) {
                  // From the point of view of the incoming client connection we are dead
                  // The callback dispatch framework may have another point of view (which is not of interest here)
                  auth.connectionState(this.secretSessionId, ConnectionStateEnum.DEAD);
               }
               shutdown();
               break;
            }
         }
View Full Code Here

      class DumpListener implements ActionListener {
         public void actionPerformed(ActionEvent e) {
            // logOutput.setText("");  // clear log window
            try {
               log.info("Dump start");
               I_Authenticate auth = xmlBlasterMain.getAuthenticate();
               StringBuffer buf = new StringBuffer(auth.toXml());
               buf.append(xmlBlasterMain.getXmlBlaster().toXml());
               LogRecord record = new LogRecord(Level.INFO, buf.toString());
               log(record);
               log.info("Dump end");
            }
View Full Code Here

   public int getMaxNumOfEntries() {
      return this.maxNumOfEntries;
   }
  
   public I_AdminSession getSession(String sessionId) throws Exception {
      I_Authenticate auth = getEngineGlobal(this.global).getAuthenticate();
      if (auth == null)
         throw new Exception("prepareForRequest: could not retreive the Authenticator object. Can not continue.");
      SessionName sessionName = new SessionName(this.global, sessionId);
      I_AdminSubject subject = auth.getSubjectInfoByName(sessionName);
      if (subject == null)
         throw new Exception("prepareForRequest: no subject (slave) found with the session name '" + sessionId + "'");
      I_AdminSession session = subject.getSessionByPubSessionId(sessionName.getPublicSessionId());
      if (session == null)
         throw new Exception("prepareForRequest: no session '" + sessionId + "' found. Valid sessions for this user are '" + subject.getSessionList() + "'");
View Full Code Here

      }
      clearResponseListenerMap();
      freePendingThreads();
      if (this.acceptRemoteLoginAsTunnel) {
         if (needsCleanup) {
            I_Authenticate a = getAuthenticateCore();
            String s = this.secretSessionId;
            if (a != null && s != null)
               a.connectionState(s, ConnectionStateEnum.DEAD);
         }
      }
   }
View Full Code Here

TOP

Related Classes of org.xmlBlaster.protocol.I_Authenticate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.