public class HttpAdapterUtils extends Object
Constructor and Description |
---|
HttpAdapterUtils() |
Modifier and Type | Method and Description |
---|---|
static MultivaluedHashMap<String,KeyInfo> |
downloadKeysFromSamlDescriptor(org.apache.http.client.HttpClient client,
String descriptorUrl) |
static MultivaluedHashMap<String,KeyInfo> |
extractKeysFromSamlDescriptor(InputStream xmlStream)
Parses SAML descriptor and extracts keys from it.
|
public static MultivaluedHashMap<String,KeyInfo> downloadKeysFromSamlDescriptor(org.apache.http.client.HttpClient client, String descriptorUrl) throws HttpClientAdapterException
HttpClientAdapterException
public static MultivaluedHashMap<String,KeyInfo> extractKeysFromSamlDescriptor(InputStream xmlStream) throws ParsingException
xmlStream
- IOException
ParsingException
Copyright © 2018 JBoss by Red Hat. All rights reserved.