Lotus Domino 9:如果不使用Java客户端API创建ID文件,则无法注册用户 [英] Lotus Domino 9: Unable to register user without creating ID file using Java client API

查看:109
本文介绍了Lotus Domino 9:如果不使用Java客户端API创建ID文件,则无法注册用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在配置了ID Vault的Domino设置上,当我们使用管理控制台注册用户时,他/她的ID文件将上传到ID Vault.除此管理员外,管理员还可以选择在其他指定位置上创建ID文件.

On an ID Vault configured Domino setup, when we register a user using Admin console, his/her ID file gets uploaded to ID Vault. In addition to this Admin can also chose to create ID file on some other specified location .

也就是说,管理员将可以通过两种方式执行注册:

That is, Admin will be able to perform registration in two ways:

选项A:管理员只会选择在ID保险柜中创建文件.

Option A: Admin will only chose to create file in ID Vault.

选项B:管理员将指定ID保险柜之外将在其中创建ID文件的路径.

Option B: Admin will specify path where ID file will be created in addition to ID Vault.

我正在使用Lotus Notes Java客户端API对相同的设置执行注册.问题是我无法使用上述选项A执行注册.)

I am using Lotus Notes Java client API to perform registration against the same setup. The issue is that I am not able to perform registration using Option A see above).

我们要求用户注册的方法对于ID文件路径具有必选参数.执行此方法后,除了在ID Vault中上传的文件之外,该方法还将在指定的路径上创建一个ID文件.

The method we call for registration of user has a mandatory parameter for ID file path. When executed, this method will create an ID file on the specified path in addition to one uploaded in ID Vault.

我需要通过Option A进行注册.

I have a requirement to perform registration with Option A.

我尝试过的事情:

  1. 将null/blank值发送到此参数会导致运行时异常.
  2. 仅提供文件名将在Lotus安装目录中创建ID文件.

设置详细信息:

  • 莲花Domino 9
  • 已配置ID保险库

客户端API详细信息:

Client API details:

  • Lotus注释Java客户端API(NCSO.jar)

我认为如果不通过此API创建文件,则无法执行注册.

I think it's not possible to perform registration without creating file through this API.

这里需要一些专家意见吗?

Need some expert opinion here?

有人能指出我正确的方向吗?

Can someone please point me in the right direction?

推荐答案

不幸的是,NotesRegistration-类没有遵循admin-client中的开发.直到今天,没有一种方法可以在未保存本地ID的情况下注册用户,因为registerNewUser方法的必需参数是文件路径".

Unfortunately the NotesRegistration- class did not follow the development in admin- client. As for today there is no method to register a user without having an ID saved locally, as "filepath" is a mandatory parameter for registerNewUser method.

唯一接近的属性是IsNoIDFile-属性,但这里无济于事,因为在我的测试中将该属性设置为False时,根本没有生成ID(ID Vault为空).

The only property that comes close is the IsNoIDFile- property, but it does not help here, as with that property set to False in my test no ID was generated at all (ID Vault was empty)...

知道只能通过在方法完成后立即删除创建的ID来变通"该行为.

Knowing that you can only "workaround" the bahaviour by deleting the created ID instantly after the method has finished.

我试图找到针对该问题的PMR/SPR,因为以前可能已经向IBM报告过,但是我找不到.如果需要该功能,则需要与IBM打开PMR并要求他们提供该类的修复".

I tried to find a PMR / SPR for that issue, as this might have probably been reported to IBM before, but I could not find one. If you need that feature, then you need to open a PMR with IBM and ask them for a "fix" for the class.

这篇关于Lotus Domino 9:如果不使用Java客户端API创建ID文件,则无法注册用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆