UserDataConstants.STATUS_GENERATED);
UserDataConstants.STATUS_GENERATED,false);
    public void execute() throws IllegalAdminCommandException, ErrorAdminCommandException {        try {            if (args.length < 2) {                getOutputStream().println("Usage: RA unrevokeuser <username>");                getOutputStream().println("A users certificate can unly be unrevoked if the revocation reason is certificate_hold.");                return;            }            String username = args[1];            UserDataVO data = getAdminSession().findUser(administrator, username);            getOutputStream().println("Found user:");            getOutputStream().println("username=" + data.getUsername());            getOutputStream().println("dn=\"" + data.getDN() + "\"");            getOutputStream().println("Old status=" + data.getStatus());            getAdminSession().setUserStatus(administrator, username,            		UserDataConstants.STATUS_GENERATED);            getOutputStream().println("New status=" + UserDataConstants.STATUS_GENERATED);            // Revoke users certificates            try {            	getAdminSession().revokeUser(administrator, username, RevokedCertInfo.NOT_REVOKED);            } catch (AuthorizationDeniedException e) {            	getOutputStream().println("Error : Not authorized to un-revoke user.");            }        } catch (Exception e) {            throw new ErrorAdminCommandException(e);        }    }