- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我根据此链接一步一步地在 tomcat 8 上设置 shibboleth idp https://wiki.shibboleth.net/confluence/display/IDP30/ApacheTomcat8
我已经成功安装了 shibboleth-idp 并构建了 war 文件。
我在 tomcat 中启动时发现错误,它说找不到类“net.shibboleth.utilities.ssl.TrustAnyCertificate”
请在下面找到我的配置设置:
编辑文件{tomcat_home}/bin/setenv.bat
@echo off
set JAVA_HOME=C:\java\jdk1.7.0_75
set CATALINA_OPTS=-server -Xmx512M -XX:MaxPermSize=128M -Dfile.encoding=utf-8 -Djava.awt.headless=true -Dcom.sun.security.enableCRLDP=true -Didp.home=C:/shibboleth-idp-3.1.1
编辑文件 {tomcat_home}/conf/server.xml
Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="want" keystoreFile="C:/shibboleth-idp-3.1.1/credentials/idp-backchannel.p12"
keystorePass="pass***" keystoreType="PKCS12"
trustManagerClassName="net.shibboleth.utilities.ssl.TrustAnyCertificate"
但是,在运行 tomcat 服务器后出现错误类未找到
30-Apr-2015 11:05:40.161 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8443"]
java.lang.ClassNotFoundException: net.shibboleth.utilities.ssl.TrustAnyCertificate
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:635)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:559)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:357)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:737)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:576)
at org.apache.catalina.startup.Catalina.load(Catalina.java:599)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)
请帮我解决这个问题,谢谢。
最佳答案
您的 Tomcat 的 lib 文件夹中缺少文件 trustany-ssl-1.0.0.jar
。可以从这个页面下载https://wiki.shibboleth.net/confluence/display/IDP30/ApacheTomcat8,被称为“支持后台 channel 要求的插件组件”
关于tomcat - Tomcat 8 上的 Shibboleth IDP 安装 : Found error java. lang.ClassNotFoundException : net. shibboleth.utilities.ssl.TrustAnyCertificate,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29958462/
/var/log/messages 不断重复以下内容: WARN Shibboleth.Config : DEPRECATED: legacy 2.0 configuration, support w
我在本地主机上安装了 Shibboleth 服务提供程序。我想连接到 shibboleth idp。 Error Message: No peer endpoint available to whic
我正在尝试满足在通过 Shibboleth 进行身份验证后始终将用户重定向到相同 URL 的要求。 目前,它将重定向到我们想要忽略的引荐来源网址(可以更改)并将其替换为我们自己的引荐来源网址(永远不会
我已将 Shibboleth IdP 3 配置为针对 LDAP (AD) 进行身份验证。 当我访问以下 URL 时 https://FDQN-of-the-IdP/idp/status 我看到以下页面
我正在尝试配置 Shibboleth 身份提供程序以与现有的 SAML 2.0 服务提供程序一起使用(我假设它也是 Shibboleth),但它失败并显示 InvalidNameIDPolicy 状态
我根据此链接一步一步地在 tomcat 8 上设置 shibboleth idp https://wiki.shibboleth.net/confluence/display/IDP30/Apache
我需要在 Shibbolethlogin 之后和重定向到 SP url 之前执行操作。对我来说,最好的解决方案是“Shib 页面登录”-> 登录正常-> 重定向到我的自定义页面-> 重定向到 sp u
我使用 Shibboleth 成功登录到我的服务提供商测试页面。然后我转到/Shibboleth.sso/Session 页面,我看到以下内容: Attributes affiliation: 1 v
当从命令行 (/usr/sbin/shibd -t) 测试 shibd 时,我看到了这个警告: WARN Shibboleth.Application : empty/missing cookiePr
我的 IIS 服务器上托管有一个 ColdFusion 应用程序。我添加了Shibboleth服务到我的 Web IIS,并且 CGI/过滤器已设置为使用它。我将我的申请添加到 testshib联盟并
我的 IIS 服务器上托管有一个 ColdFusion 应用程序。我添加了Shibboleth服务到我的 Web IIS,并且 CGI/过滤器已设置为使用它。我将我的申请添加到 testshib联盟并
我正在努力将 SAML 供应商 (Freshdesk) 集成到我的 Shibboleth 环境中。我的问题是 nameID 格式为空。 阅读我的供应商的文档,他们想要 example@test.fre
我一直在尝试用java实现WEB SSO服务提供者。我正在使用 Shibboleth 身份提供商。一切工作正常,直到身份验证步骤,我成功地为用户创建 session /设置 cookie。但是,当我尝
我使用 angularjs 创建了一个 Web 应用程序。我在我的登录 Controller 上集成了 Shibboleth 进行身份验证。我知道可以通过 cookie 概念清除 session 。
我到处寻找这个问题的答案,但没有成功。 我在我的 OSX 网络服务器上安装了 PHP。当我访问 myserver.com/test.php 时,一切正常。 但是,我有一个名为/shibboleth/的
我正试图从受 shibboleth 身份验证保护的页面上抓取数据。我无法让 cURL 和 webisoget 正常工作。所以,我正在尝试 wget,因为我认为我可以通过我的证书并获取我想要的页面。但是
我正在研究在 Django 部署中使用 Shibboleth 的选项。从我发现的情况来看,事情看起来有些稀疏。任何人都可以评论以下内容吗? 有人在使用 django_shibboleth 模块吗(见
我正在使用 shibboleth 服务以实现以下目标 用户试图访问 https://sp.dev.myserver.com/secure/ 中的安全资源 重定向到 WAYF 选择 idp 并重定向到
我正在为一所使用 Shibboleth 对学生进行身份验证的大学编写一个 android 应用程序。 由于我正在制作一个 android native 应用程序(不是 webview),我想以编程方式
我有一个 Drupal 站点,我正在为一个客户挺身而出。 我被要求使用 SAML2 使用单点登录(我将是服务提供商,我的客户将是身份提供商)。 到目前为止,我发现的最好的事情是 SimpleSAMLP
我是一名优秀的程序员,十分优秀!