unable to generate SAML metadata file

扶醉桌前 提交于 2019-12-31 05:34:29

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/45075566/unable-to-generate-saml-metadata-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!