⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i_authenticate.java

📁 java开源的企业总线.xmlBlaster
💻 JAVA
字号:
/*------------------------------------------------------------------------------Name:      I_Authenticate.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment:   Native Interface to xmlBlasterVersion:   $Id: I_Authenticate.java 16130 2007-04-20 09:39:59Z ruff $Author:    xmlBlaster@marcelruff.info------------------------------------------------------------------------------*/package org.xmlBlaster.protocol;import org.xmlBlaster.util.XmlBlasterException;import org.xmlBlaster.engine.ServerScope;import org.xmlBlaster.engine.qos.AddressServer;import org.xmlBlaster.engine.qos.ConnectQosServer;import org.xmlBlaster.engine.qos.ConnectReturnQosServer;import org.xmlBlaster.util.SessionName;import org.xmlBlaster.util.dispatch.ConnectionStateEnum;import org.xmlBlaster.engine.admin.I_AdminSubject;/** * This is the native interface to xmlBlaster-authentication. * <p /> * All login/logout or connect/disconnect calls access xmlBlaster's * authentication plugins through these methods. * This interface is implemented by authentication/Authenticate.java * @see <a href="http://www.xmlBlaster.org/xmlBlaster/src/java/org/xmlBlaster/protocol/corba/xmlBlaster.idl" target="others">CORBA xmlBlaster.idl</a> * @see org.xmlBlaster.authentication.Authenticate * @author xmlBlaster@marcelruff.info */public interface I_Authenticate{   public boolean sessionExists(String sessionId);   public ServerScope getGlobal();   public I_XmlBlaster getXmlBlaster();   /**    * @see <a href="http://www.xmlBlaster.org/xmlBlaster/doc/requirements/interface.connect.html">The interface.connect requirement</a>    */   public ConnectReturnQosServer connect(AddressServer addressServer, ConnectQosServer qos) throws XmlBlasterException;   /**    * @see <a href="http://www.xmlBlaster.org/xmlBlaster/doc/requirements/interface.connect.html">The interface.connect requirement</a>    */   public String connect(AddressServer addressServer, String qos) throws XmlBlasterException;   /*    * @see <a href="http://www.xmlBlaster.org/xmlBlaster/doc/requirements/interface.connect.html">The interface.connect requirement</a>    */   public ConnectReturnQosServer connect(AddressServer addressServer, ConnectQosServer qos, String sessionId) throws XmlBlasterException;   /*    * @see <a href="http://www.xmlBlaster.org/xmlBlaster/doc/requirements/interface.connect.html">The interface.connect requirement</a>    */   public String connect(AddressServer addressServer, String qos, String sessionId) throws XmlBlasterException;   /**    * @see <a href="http://www.xmlBlaster.org/xmlBlaster/doc/requirements/interface.disconnect.html">The interface.disconnect requirement</a>    */   public void disconnect(AddressServer addressServer, String sessionId, String qos_literal) throws XmlBlasterException;   /**     * Ping to check if xmlBlaster is alive and willing to accept messages.     * @see org.xmlBlaster.protocol.I_XmlBlaster#ping(String)     */   public String ping(AddressServer addressServer, String qos);   /**    * A protocol may inform the client is lost (currently only the SOCKET protocol plugin supports it)    * @param state ConnectionStateEnum.DEAD    */   public void connectionState(String secretSessionId, ConnectionStateEnum state);   /**    * Administrative access.    * For security reasons the I_AdminSubject implementation is SubjectInfoProtector    */   public I_AdminSubject getSubjectInfoByName(SessionName sessionName)  throws XmlBlasterException;   public String toXml() throws XmlBlasterException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -