[英]WSO2 IS - Retrieve challenge questions of a user and Configuration
We are currently using WSO2 IS 5.10.我们目前使用的是 WSO2 IS 5.10。
We are storing all the challenge questions as showing below我们正在存储所有挑战问题,如下所示
/_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection /_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection
We are using getChallengeQuestionsOfUser SOAP( UserIdentityManagementAdminService.wsdl) API for retrieving the challenge questions of a particular user by passing username as input parameter and getting only three security questions as response.我们使用getChallengeQuestionsOfUser SOAP( UserIdentityManagementAdminService.wsdl) API 通过将用户名作为输入参数传递并仅获取三个安全问题作为响应来检索特定用户的挑战问题。
getChallengeQuestionsOfUser(userName) getChallengeQuestionsOfUser(用户名)
The API is returning only 3 security Questions, is there any configuration to retrieve more than 3? API 只返回3 个安全问题,是否有任何配置可以检索超过3 个?
Fist verify the questionSetId
property value of the questions stored at location /_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection
.首先验证存储在
/_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection
位置的问题的questionSetId
属性值。
If you wish to set more than 3 challenge question for a user, there should be questions in more than 3 questionSetId
s at this location.如果您希望为用户设置 3 个以上的挑战问题,则该位置的
questionSetId
中应该有 3 个以上的问题。 Prior to that you should have created a local claim URI for each questionSetId.在此之前,您应该为每个 questionSetId 创建一个本地声明 URI。
Let's say this is the user's selected question from each questionSetId.假设这是用户从每个 questionSetId 中选择的问题。 and called
setChallengeQuestionsOfUser
API.并调用
setChallengeQuestionsOfUser
API。
Verify the set challenge questions for the user from the above soap API. Mark supported by default true for the challenge question-related claims under local claims and check on user profile.验证来自上述soap API用户的设置挑战问题。将本地声明下与挑战问题相关的声明标记为默认支持true,并检查用户个人资料。
The challenge question claim values set for the user, will be returned when getChallengeQuestionsOfUser SOAP API is invoked为用户设置的挑战问题声明值,将在调用 getChallengeQuestionsOfUser 时返回 SOAP API
If I answer to your question of如果我回答你的问题
The API is returning only 3 security Questions
API 仅返回 3 个安全问题
It should be because the user has set only 3 challenge question answers.应该是因为用户只设置了3个挑战题答案。 May be you have questions at
/_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection
with some other questionSetId
.可能您在
/_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection
和其他questionSetId
有问题。 but that particular tested user has picked only challenge questions from only 3 questionSetId
s但是那个特定的测试用户只从 3 个
questionSetId
中选择了挑战问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.