📄 userdataremote.java
字号:
/************************************************************************* * * * 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 se.anatom.ejbca.ra;import java.rmi.RemoteException;import java.security.NoSuchAlgorithmException;/** * For docs, see UserDataBean * * @version $Id: UserDataRemote.java,v 1.11 2004/04/16 07:38:56 anatom Exp $ **/public interface UserDataRemote extends javax.ejb.EJBObject { // Constants for Status of user public static final int STATUS_NEW = UserDataLocal.STATUS_NEW; // New user public static final int STATUS_FAILED = UserDataLocal.STATUS_FAILED; // Generation of user certificate failed public static final int STATUS_INITIALIZED = UserDataLocal.STATUS_INITIALIZED;// User has been initialized public static final int STATUS_INPROCESS = UserDataLocal.STATUS_INPROCESS; // Generation of user certificate in process public static final int STATUS_GENERATED = UserDataLocal.STATUS_GENERATED; // A certificate has been generated for the user public static final int STATUS_REVOKED = UserDataLocal.STATUS_REVOKED; // The user has been revoked and should not have any more certificates issued public static final int STATUS_HISTORICAL = UserDataLocal.STATUS_HISTORICAL; // The user is old and archived public static final int STATUS_KEYRECOVERY = UserDataLocal.STATUS_KEYRECOVERY; // The user is should use key recovery functions in next certificate generation. // public methods public String getUsername() throws RemoteException; /** username must be called 'striped' using StringTools.strip() * @see se.anatom.ejbca.util.StringTools */ public void setUsername(String username) throws RemoteException; public String getSubjectDN() throws RemoteException; public void setSubjectDN(String subjectDN) throws RemoteException; public int getCAId() throws RemoteException; public void setCAId(int caid) throws RemoteException; public String getSubjectAltName() throws RemoteException; public void setSubjectAltName(String subjectAltName) throws RemoteException; public String getSubjectEmail() throws RemoteException; public void setSubjectEmail(String subjectEmail) throws RemoteException; public int getStatus() throws RemoteException; public void setStatus(int status) throws RemoteException; public int getType() throws RemoteException; public void setType(int type) throws RemoteException; public String getClearPassword() throws RemoteException; public void setClearPassword(String clearPassword) throws RemoteException; public String getPasswordHash() throws RemoteException; public void setPasswordHash(String passwordHash) throws RemoteException; public long getTimeCreated() throws RemoteException; public long getTimeModified() throws RemoteException; public void setTimeModified(long createtime) throws RemoteException; public int getEndEntityProfileId() throws RemoteException; public void setEndEntityProfileId(int endentityprofileid) throws RemoteException; public int getCertificateProfileId() throws RemoteException; public void setCertificateProfileId(int certificateprofileid) throws RemoteException; public int getTokenType() throws RemoteException; public void setTokenType(int tokentype) throws RemoteException; public int getHardTokenIssuerId() throws RemoteException; public void setHardTokenIssuerId(int hardtokenissuerid) throws RemoteException; public ExtendedInformation getExtendedInformation() throws RemoteException; public void setExtendedInformation(ExtendedInformation extendedinformation) throws RemoteException; public void setDN(String dn) throws RemoteException; public void setPassword(String password) throws RemoteException, NoSuchAlgorithmException; public void setOpenPassword(String password) throws RemoteException, NoSuchAlgorithmException; public boolean comparePassword(String password) throws RemoteException, NoSuchAlgorithmException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -