i_authenticate.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 85 行

JAVA
85
字号
/*------------------------------------------------------------------------------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 + =
减小字号Ctrl + -
显示快捷键?