问题
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