wso2 IS:默认情况下隐藏了Oauth;手动“取消隐藏”时给出例外

时间:2014-06-24 13:35:22

标签: wso2 wso2is

安装Identity Server后,我无法按照教程进行操作 here 因为“OAuth”不会出现在管理控制台中的main-> manage下。检查carbon.xml显示它默认是隐藏的(欢迎合理的解释)。

在carbon.xml中启用它会使它出现,但是当我注册一个新的应用程序时,我收到此错误:

ERROR {org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() for servlet 
bridgeservlet threw exception {org.apache.catalina.core.ApplicationDispatcher}
java.lang.NullPointerException
at org.apache.jsp.application.configure_002dservice_002dprovider_jsp._jspService(org.apache.jsp.application.configure_002dservice_002dprovider_jsp:155)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
...

ERROR {org.apache.tiles.jsp.taglib.RoleSecurityTagSupport} -  IO Error executing tag: JSPException
while including path '/application/configure-service-provider.jsp'. ServletException while 
including page. {org.apache.tiles.jsp.taglib.RoleSecurityTagSupport}
java.io.IOException: JSPException while including path '/application/configure-service-provider.jsp'. ServletException while including page.
    at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
    at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
    at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
....

之前有人见过这个吗?我正在使用WSO2 Identity Server 5.0.0

1 个答案:

答案 0 :(得分:0)

该文章是为WSO2 IS 4.6.0编写的,尚未在IS 5.0中尝试过。但你应该能够使用IS 5.0。唯一的挑战是IS 5.0与4.6.0有一些不同的UI结构。

对于IS 5.0中与OAuth相关的配置,请转到Service Providers并添加新的服务提供商。然后转到Inbound Authentication Configurations> OAuth/OpenID Connect Configuration> Configure

希望这有帮助。

修改:您可以找到官方文档here