iauthenticationsessionlocal.java
来自「一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考」· Java 代码 · 共 32 行
JAVA
32 行
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb.ca.auth;/** * Local interface for AuthenticationSession. */public interface IAuthenticationSessionLocal extends javax.ejb.EJBLocalObject{ /** * Authenticates a user to the user database and returns the user DN. * @param username unique username within the instance * @param password password for the user * @return UserDataVO, never returns null * @throws ObjectNotFoundException if the user does not exist. * @throws AuthStatusException If the users status is incorrect. * @throws AuthLoginException If the password is incorrect. */ public org.ejbca.core.model.ra.UserDataVO authenticateUser( org.ejbca.core.model.log.Admin admin,java.lang.String username,java.lang.String password ) throws javax.ejb.ObjectNotFoundException, org.ejbca.core.model.ca.AuthStatusException, org.ejbca.core.model.ca.AuthLoginException; /** * Set the status of a user to finished, called when a user has been successfully processed. If possible sets users status to UserData.STATUS_GENERATED, which means that the user cannot be authenticated anymore. NOTE: May not have any effect of user database is remote. * @param username unique username within the instance * @param password password for the user * @throws ObjectNotFoundException if the user does not exist. */ public void finishUser( org.ejbca.core.model.log.Admin admin,java.lang.String username,java.lang.String password ) throws javax.ejb.ObjectNotFoundException;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?