Package org.wildfly.security.auth.client
Class ElytronXmlParser
- java.lang.Object
 - 
- org.wildfly.security.auth.client.ElytronXmlParser
 
 
- 
public final class ElytronXmlParser extends Object
A parser for the Elytron XML schema.- Author:
 - David M. Lloyd
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecurityFactory<AuthenticationContext>parseAuthenticationClientConfiguration()Parse an Elytron authentication client configuration from a configuration discovered using the default wildfly-client-config discovery rules.static SecurityFactory<AuthenticationContext>parseAuthenticationClientConfiguration(URI uri)Parse an Elytron authentication client configuration from a resource located at a specifiedURI. 
 - 
 
- 
- 
Method Detail
- 
parseAuthenticationClientConfiguration
public static SecurityFactory<AuthenticationContext> parseAuthenticationClientConfiguration() throws org.wildfly.client.config.ConfigXMLParseException
Parse an Elytron authentication client configuration from a configuration discovered using the default wildfly-client-config discovery rules.- Returns:
 - the authentication context factory
 - Throws:
 org.wildfly.client.config.ConfigXMLParseException- if the resource failed to be parsed
 
- 
parseAuthenticationClientConfiguration
public static SecurityFactory<AuthenticationContext> parseAuthenticationClientConfiguration(URI uri) throws org.wildfly.client.config.ConfigXMLParseException
Parse an Elytron authentication client configuration from a resource located at a specifiedURI.- Parameters:
 uri- theURIof the configuration.- Returns:
 - the authentication context factory
 - Throws:
 org.wildfly.client.config.ConfigXMLParseException- if the resource failed to be parsed
 
 - 
 
 -