无法生成SAML元数据文件 [英] unable to generate SAML metadata file

查看:246
本文介绍了无法生成SAML元数据文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Web应用程序中使用AngularJS和spring security.我们使用的是基本身份验证,现在我们尝试使用SAML进行SSO登录. 当我们使用基于Java的注释时,我尝试遵循以下示例,我只是添加了 securityConfig 还与 loadUserBySAML 服务.我还在活动目录中配置了ADFS服务,并生成了federationmetadata.xml文件,但是,我无法生成metadata.xml文件. 当我尝试 http://localhost:8080/myapp/saml/metadata 时,我得到的不是404成立. 我确定我错过了什么,但是呢?

I'm using AngularJS and spring security in a web application. We were using the basic authentication and now we are trying to put in place SAML for SSO login. As we are using Java based annotation I tried to follow this example, I just added the securityConfig part to my application with also loadUserBySAML service. I also configured my ADFS service in active directory and generated the federationmetadata.xml file, however, I wasn't able to generate the metadata.xml file. When I try http://localhost:8080/myapp/saml/metadata I get 404 not found. I'm sure that I've missed something, but what?

推荐答案

您可以直接从此链接. 您可以在基于Java的配置中尝试示例,只需遵循以下步骤,以及那么您将获得SAML和ADFS的基于Java的有效配置.

You can generate the spring_saml_metadata.xml file directly from this link. You can try this example with Java based configuration, just follow those steps , and then you will get a working java based configuration for SAML and ADFS.

这篇关于无法生成SAML元数据文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆