Class ElytronXmlParser


  • public final class ElytronXmlParser
    extends Object
    A parser for the Elytron XML schema.
    Author:
    David M. Lloyd
    • 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 specified URI.
        Parameters:
        uri - the URI of the configuration.
        Returns:
        the authentication context factory
        Throws:
        org.wildfly.client.config.ConfigXMLParseException - if the resource failed to be parsed