protected void loadSamlMetadataIntoRequestContext ( final RequestContext requestContext , final String entityId , final RegisteredService registeredService ) { LOGGER . debug ( "Locating SAML MDUI for entity [{}]" , entityId ) ; val mdui = MetadataUIUtils . locateMetadataUserInterfaceForEntityId ( this . metadataAdapter , entityId , registeredService , WebUtils . getHttpServletRequestFromExternalWebflowContext ( requestContext ) ) ; LOGGER . debug ( "Located SAML MDUI for entity [{}] as [{}]" , entityId , mdui ) ; WebUtils . putServiceUserInterfaceMetadata ( requestContext , mdui ) ; }
Load saml metadata into request context .