OpenSearch/x-pack/test/idp-fixture/idp/shibboleth-idp/metadata
Ioannis Kakavas 3640ff1ff2
Add SAML AuthN request signing tests (#61582)
- Add a unit test for our signing code
- Change SAML IT to use signed authentication requests for Shibboleth to consume

Backport of #48444
2020-08-27 10:41:56 +03:00
..
README.asciidoc Add SAML AuthN request signing tests (#61582) 2020-08-27 10:41:56 +03:00
idp-docs-metadata.xml Document SAML APIs (#45105) (#47909) 2019-10-11 16:34:11 +03:00
idp-metadata.xml Replace Vagrant with Docker for idp-fixture (#39948) 2019-03-13 08:30:03 +02:00
sp-metadata.xml Add SAML AuthN request signing tests (#61582) 2020-08-27 10:41:56 +03:00
sp-metadata2.xml Add SAML AuthN request signing tests (#61582) 2020-08-27 10:41:56 +03:00
sp-metadata3.xml Add SAML AuthN request signing tests (#61582) 2020-08-27 10:41:56 +03:00

README.asciidoc

Metadata for the SPs can be generated by using the saml realm configurations in
`elasticsearch/x-pack/qa/saml-idp-tests/build.gradle` in a
local elasticsearch installation and running:

[source, sh]
--------------------
bin/elasticsearch-saml-metadata -realm <thenameoftherealm>
--------------------

The XML file then needs to be copied to /idp/shibboleth-idp/metadata and referenced in the configuration ( `metadata-providers.xml`) as

```
 <MetadataProvider id="someidhere"  xsi:type="FilesystemMetadataProvider" metadataFile="%{idp.home}/metadata/<thefilename>.xml"/>
```