我目前正在測試WSO2 Identity Server
並且我正在運行某個問題。WSO2身份驗證服務器崩潰
我目前在本地主機上運行two SSO (SAML2)
已啓用的應用程序,並且名稱爲app1和app2。
應用程序的行爲是當用戶嘗試訪問應用程序時重定向到登錄面板。
由於它啓用了SSO,它將重定向到WSO2IS
登錄面板。
如果這兩個應用程序都沒有登錄並重定向到WSO2IS的SSO登錄頁面。第一個登錄工作很好。
但是,第二個在WSO2IS中登錄(另一個應用程序已經登錄,但我仍然在第二個應用程序的WSO2IS的SSO登錄頁面)崩潰。
任何人有任何想法?
由於
這裏是堆棧:
url: https://wso2identity:9443/commonauth
HTTP狀態500 -
類型異常報告
消息
說明服務器遇到內部錯誤,阻止其執行此請求 。
例外
顯示java.lang.NullPointerException org.wso2.carbon.identity.application.authentication.framework.CommonApplicationAuthenticationServlet.sendResponseToCaller(CommonApplicationAuthenticationServlet.java:223) org.wso2.carbon.identity.application。 authentication.framework.CommonApplicationAuthenticationServlet.doPost(CommonApplicationAuthenticationServlet.java:186) javax.servlet.http.HttpServlet.service(HttpServlet.java:755) javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 組織.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37) org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) org.eclipse .equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) javax.servlet.http.HttpServlet.service(HttpServlet.java:848) org.wso2.carbon.tomcat.ext.servlet.DelegationServlet 。服務(DelegationServlet.java:68) org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
注:根本原因的完整棧跟蹤可用在Apache T omcat/7.0.34日誌。
您正在使用什麼版本的Identity Server的? – DarRay
我正在運行4.6.0。我必須說你嘗試使用相同的用戶名登錄發生問題的兩個應用程序。此外,執行SSO登錄請求的最新應用程序將作爲用戶登錄時登錄的第一個應用程序(即使它位於其他應用程序的登錄面板中)出現。 – yannb
爲什麼你必須鍵入第二種類型的用戶名。理想情況下,當您嘗試第二次登錄時,它應該繞過登錄頁面。 – DarRay