@ GetMapping ( "/sp/{client}/idp/metadata" ) public ResponseEntity < String > getIdentityProviderMetadataByName ( @ PathVariable ( "client" ) final String client ) { val saml2Client = ( SAML2Client ) builtClients . findClient ( client ) ; if ( saml2Client != null ) { return getSaml2ClientIdentityProviderMetadataResponseEntity ( saml2Client ) ; } return getNotAcceptableResponseEntity ( ) ; }
Gets idp metadata by name .