1

Topic: How to initialize MetadataProvider for SAML the client?

I want the client who is able SAML authorization, but Google something feeblly helps, he suggests to be the server... I took means OpenSAML and in fight: SamlClient client = SamlClient.fromMetadata ("ident", idp_url, provider.getMetadata ()); provider.getMetadata () - - who it could be...? Tried here so: Timer timer = new Timer (); HttpClient httpClient = new HttpClient (); HTTPMetadataProvider provider = new HTTPMetadataProvider (timer, httpClient, idp_url); and  org.opensaml.saml2.metadata.provider.MetadataProviderException: Metadata provider has not been initialized as, a pancake, it to initialize...? Or how still to receive metadata for the client? Or the client to do at all so? And how then?

2

Re: How to initialize MetadataProvider for SAML the client?

Hello, Rastafarra, you wrote: R> I want the client who is able SAML authorization, but Google something feeblly helps, he suggests to be the server... R> I took means OpenSAML and in fight: R> SamlClient client = SamlClient.fromMetadata ("ident", idp_url, provider.getMetadata ()); R> provider.getMetadata () - - who it could be...? R> tried here so: R> Timer timer = new Timer (); R> HttpClient httpClient = new HttpClient (); R> HTTPMetadataProvider provider = new HTTPMetadataProvider (timer, httpClient, idp_url); R> and  R>org.opensaml.saml2.metadata.provider.MetadataProviderException: Metadata provider has not been initialized R> as, a pancake, it to initialize...? Or how still to receive metadata for the client? R> or the client to do at all so? And how then? http://blog.samlsecurity.com//2012/02/g … nsaml.html http://stackoverflow.com/questions/1767 … g-opensaml