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

📄 ilogsessionremote.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.log;/** * Remote interface for LogSession. */public interface ILogSessionRemote   extends javax.ejb.EJBObject{   /**    * Session beans main function. Takes care of the logging functionality.    * @param admin the administrator performing the event.    * @param time the time the event occured.    * @param username the name of the user involved or null if no user is involved.    * @param certificate the certificate involved in the event or null if no certificate is involved.    * @param event id of the event, should be one of the org.ejbca.core.model.log.LogEntry.EVENT_ constants.    * @param comment comment of the event.    */   public void log( org.ejbca.core.model.log.Admin admin,int caid,int module,java.util.Date time,java.lang.String username,java.security.cert.X509Certificate certificate,int event,java.lang.String comment )      throws java.rmi.RemoteException;   /**    * Same as above but with the difference of CAid which is taken from the issuerdn of given certificate.    */   public void log( org.ejbca.core.model.log.Admin admin,java.security.cert.X509Certificate caid,int module,java.util.Date time,java.lang.String username,java.security.cert.X509Certificate certificate,int event,java.lang.String comment )      throws java.rmi.RemoteException;   /**    * Overloaded function that also logs an exception See function above for more documentation.    * @param exception the exception that has occured    */   public void log( org.ejbca.core.model.log.Admin admin,int caid,int module,java.util.Date time,java.lang.String username,java.security.cert.X509Certificate certificate,int event,java.lang.String comment,java.lang.Exception exception )      throws java.rmi.RemoteException;   /**    * Same as above but with the difference of CAid which is taken from the issuerdn of given certificate.    */   public void log( org.ejbca.core.model.log.Admin admin,java.security.cert.X509Certificate caid,int module,java.util.Date time,java.lang.String username,java.security.cert.X509Certificate certificate,int event,java.lang.String comment,java.lang.Exception exception )      throws java.rmi.RemoteException;   /**    * Method to export log records according to a customized query on the log db data. The parameter query should be a legal Query object.    * @param query a number of statments compiled by query class to a SQL 'WHERE'-clause statment.    * @param viewlogprivileges is a sql query string returned by a LogAuthorization object.    * @param logexporter is the obbject that converts the result set into the desired log format    * @return an exported byte array. Maximum number of exported entries is defined i LogConstants.MAXIMUM_QUERY_ROWCOUNT, returns null if there is nothing to export    * @throws IllegalQueryException when query parameters internal rules isn't fullfilled.    * @throws ExtendedCAServiceNotActiveException    * @throws IllegalExtendedCAServiceRequestException    * @throws ExtendedCAServiceRequestException    * @throws CADoesntExistsException    * @see org.ejbca.util.query.Query    */   public byte[] export( org.ejbca.core.model.log.Admin admin,org.ejbca.util.query.Query query,java.lang.String viewlogprivileges,java.lang.String capriviledges,org.ejbca.core.model.log.ILogExporter logexporter )      throws org.ejbca.util.query.IllegalQueryException, org.ejbca.core.model.ca.caadmin.CADoesntExistsException, org.ejbca.core.model.ca.caadmin.extendedcaservices.ExtendedCAServiceRequestException, org.ejbca.core.model.ca.caadmin.extendedcaservices.IllegalExtendedCAServiceRequestException, org.ejbca.core.model.ca.caadmin.extendedcaservices.ExtendedCAServiceNotActiveException, java.rmi.RemoteException;   /**    * Method to execute a customized query on the log db data. The parameter query should be a legal Query object.    * @param query a number of statments compiled by query class to a SQL 'WHERE'-clause statment.    * @param viewlogprivileges is a sql query string returned by a LogAuthorization object.    * @return a collection of LogEntry. Maximum size of Collection is defined i LogConstants.MAXIMUM_QUERY_ROWCOUNT    * @throws IllegalQueryException when query parameters internal rules isn't fullfilled.    * @see org.ejbca.util.query.Query    */   public java.util.Collection query( org.ejbca.util.query.Query query,java.lang.String viewlogprivileges,java.lang.String capriviledges )      throws org.ejbca.util.query.IllegalQueryException, java.rmi.RemoteException;   /**    * Loads the log configuration from the database.    * @return the logconfiguration    */   public org.ejbca.core.model.log.LogConfiguration loadLogConfiguration( int caid )      throws java.rmi.RemoteException;   /**    * Saves the log configuration to the database.    * @param logconfiguration the logconfiguration to save.    */   public void saveLogConfiguration( org.ejbca.core.model.log.Admin admin,int caid,org.ejbca.core.model.log.LogConfiguration logconfiguration )      throws java.rmi.RemoteException;}

⌨️ 快捷键说明

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