【问题标题】:Unable to access AuthenticationAdmin service of WSO2 Identity server无法访问 WSO2 身份服务器的 AuthenticationAdmin 服务
【发布时间】:2012-01-19 07:53:49
【问题描述】:

我有一个新的 WSO2 身份服务器。我需要访问 WSO2 3.2.3 的轴网络服务AuthenticationAdmin 来验证用户身份。我尝试遵循几个教程,但没有任何帮助。

Issuing https://localhost:9443/services/AuthenticationAdmin 在浏览器上出现以下错误:

消息:访问服务的服务元数据:AuthenticationAdmin 已被禁止

描述:访问指定资源(Access to service 服务的元数据:AuthenticationAdmin 已被禁止)已 禁止。

在控制台上我得到了找不到服务的错误,如下:

ERROR {org.apache.axis2.engine.AxisEngine} - 端点引用 未找到操作的 (EPR) 是 /services/AuthenticationAdmin 和 WSA 操作 = 空。如果此 EPR 以前可以访问,请 联系服务器管理员..

请指导我..

【问题讨论】:

    标签: authentication wso2 axis2 wso2is


    【解决方案1】:
    1. 改变,

      false

    元素值为“真”。这将使您能够访问管理服务 WSDL。

    1. 启动碳服务器,登录并访问URL, https://localhost:9443/services/AuthenticationAdmin?wsdl

    2. 您应该会看到管理服务的 wsdl。

    3. 使用该 wsdl 代码生成客户端存根或使用 [1] 处已创建的 jar

    一旦您通过此服务获得 adminCookie,您就可以将该 cookie 用于所有后续管理操作。

    [1]http://dist.wso2.org/maven2/org/wso2/carbon/org.wso2.carbon.authenticator.stub/3.2.0/

    HTH

    【讨论】:

    • 非常感谢 Pradeep 终于在将 carbon.xml 中的“HideAdminServiceWSDLs”修改为 false 之后得到了工作
    • Pradeep,您有关于如何使用 AuthenticationAdmin WS 对用户进行身份验证/登录的示例代码吗?谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-03-08
    • 2015-07-22
    • 2012-11-18
    • 1970-01-01
    相关资源
    最近更新 更多