org.keycloak.saml.processing.core.parsers.util

## Class SAMLParserUtil

- java.lang.Object
- - org.keycloak.saml.processing.core.parsers.util.SAMLParserUtil

-     public class SAMLParserUtil
      extends Object

  Utility methods for SAML Parser
  Since:
    Nov 4, 2010
  Author:
    Anil.Saldhana@redhat.com

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SAMLParserUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static NameIDType` | `parseNameIDType(XMLEventReader xmlEventReader)` Parse a `NameIDType`
    `static void` | `validateAttributeValue(StartElement element, HasQName attributeName, String expectedValue)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SAMLParserUtil

          public SAMLParserUtil()

  - ### Method Detail

    - #### parseNameIDType

          public static NameIDType parseNameIDType(XMLEventReader xmlEventReader)
                                            throws ParsingException

      Parse a `NameIDType`
      Parameters:
        `xmlEventReader` -
      Returns:
      Throws:
        `ParsingException`

    - #### validateAttributeValue

          public static void validateAttributeValue(StartElement element,
                                                    HasQName attributeName,
                                                    String expectedValue)
                                             throws ParsingException

      Throws:
        `ParsingException`

Copyright © 2021 JBoss by Red Hat. All rights reserved.