[英]Unable to access AuthenticationAdmin service of WSO2 Identity server
I have a new WSO2 Identity server. 我有一台新的WSO2身份服务器。 I need to access an axis web service
AuthenticationAdmin
of WSO2 3.2.3 to authenticate a user. 我需要访问WSO2 3.2.3的轴Web服务
AuthenticationAdmin
来对用户进行身份验证。 I tried to follow several tutorials but none helped. 我尝试遵循一些教程,但没有帮助。
Issuing https://localhost:9443/services/AuthenticationAdmin
gives following error on browser: Issuing https://localhost:9443/services/AuthenticationAdmin
在浏览器上给出以下错误:
message: Access to service metadata for service: AuthenticationAdmin has been forbidden
消息:对服务的服务元数据的访问:AuthenticationAdmin已被禁止
description: Access to the specified resource (Access to service metadata for service: AuthenticationAdmin has been forbidden) has been forbidden.
描述:禁止访问指定的资源(禁止访问服务的服务元数据:AuthenticationAdmin已被禁止)。
And on console I get the error for the service not being found, as: 在控制台上,我收到未找到服务的错误,如下所示:
ERROR {org.apache.axis2.engine.AxisEngine} - The endpoint reference (EPR) for the Operation not found is /services/AuthenticationAdmin and the WSA Action = null.
错误{org.apache.axis2.engine.AxisEngine}-找不到的操作的端点引用(EPR)为/ services / AuthenticationAdmin,并且WSA Action = null。 If this EPR was previously reachable, please contact the server administrator..
如果此EPR以前可以访问,请与服务器管理员联系。
Please guide me.. 请指导我。
Change the, 更改
<HideAdminServiceWSDLs>false</HideAdminServiceWSDLs> <HideAdminServiceWSDLs> false </ HideAdminServiceWSDLs>
elements value to 'true'. 元素的值为“ true”。 That will give you the access to the Admin service WSDLs.
这样您就可以访问Admin服务WSDL。
start the carbon server, log-in and access the URL, https://localhost:9443/services/AuthenticationAdmin?wsdl 启动Carbon服务器,登录并访问URL, https:// localhost:9443 / services / AuthenticationAdmin?wsdl
you should see the wsdl of the admin service. 您应该看到管理服务的wsdl。
Once you obtain the adminCookie through this service you can use that cookie for all subsequent admin operations. 通过此服务获取adminCookie后,您可以将该Cookie用于所有后续管理操作。
[1] http://dist.wso2.org/maven2/org/wso2/carbon/org.wso2.carbon.authenticator.stub/3.2.0/ [1] http://dist.wso2.org/maven2/org/wso2/carbon/org.wso2.carbon.authenticator.stub/3.2.0/
HTH 高温超导
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.