icustomuserdatasource.java
来自「一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考」· Java 代码 · 共 53 行
JAVA
53 行
/************************************************************************* * * * EJBCA: The OpenSource Certificate Authority * * * * This software is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or any later version. * * * * See terms of license at gnu.org. * * * *************************************************************************/ package org.ejbca.core.model.ra.userdatasource;import java.util.Collection;import java.util.Properties;import org.ejbca.core.model.log.Admin;/** * Interface contating methods that need to be implementet in order * to have a custom user data source. All Custom user data sources must implement this interface. * * @version $Id: ICustomUserDataSource.java,v 1.1 2006/07/20 17:47:26 herrvendil Exp $ */public interface ICustomUserDataSource { /** * Method called to all newly created IUserDataSource to set it up with * saved configuration. */ public abstract void init(Properties properties); /** * @see org.ejbca.core.model.ra.userdatasource.BaseUserDataSource */ public Collection fetch(Admin admin, String searchstring) throws UserDataSourceException; /** * @see org.ejbca.core.model.ra.userdatasource.BaseUserDataSource */ public abstract void testConnection(Admin admin) throws UserDataSourceConnectionException; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?