【文件属性】:
文件名称:alfresco-mutual-authentication
文件大小:49KB
文件格式:ZIP
更新时间:2021-05-24 05:38:34
Java
通过Tomcat相互认证
这个Alfresco模块允许应用程序通过Trusted Tomcat证书进行应用程序到应用程序的相互身份验证。
版本
1.1
更新信息
使用Web片段定义Web安全上下文
开发用途
$ git clone [git-repo-url] mutual-auth
$ cd mutual-auth
$ chmod 755 run.sh
$ ./run.sh
curl -k -E keystore/serviceA.p12:alfresco --cert-type PEM \
-H " Content-Type: application/json " -X POST -d ' { "auth_user": "admin"} ' \
https://localhost:8443/alfresco/service/auth/mutual
成功的响应如下:
{
"
【文件预览】:
alfresco-mutual-authentication-master
----pom.xml(6KB)
----keystore()
--------serviceA.p12(3KB)
--------localhost.crt(911B)
--------mutual-authentication-keystore-passwords.properties(253B)
--------serviceA.crt(909B)
--------mutual-authentication.truststore(974B)
--------mutual-authentication-truststore-passwords.properties(253B)
--------mutual-authentication.keystore(2KB)
--------localhost.keystore(2KB)
--------ssl-truststore-passwords.properties(175B)
--------ssl.truststore(740B)
--------readme.txt(574B)
----src()
--------test()
--------main()
----run.sh(457B)
----.gitignore(530B)
----run.bat(827B)
----README.md(3KB)
----tomcat()
--------context.xml(2KB)
--------tomcat-users.xml(1KB)