Class SAMLRequestAbstractParser<T extends RequestAbstractType>
java.lang.Object
org.keycloak.saml.common.parsers.AbstractStaxParser<T,SAMLProtocolQNames>
org.keycloak.saml.processing.core.parsers.saml.protocol.AbstractStaxSamlProtocolParser<T>
org.keycloak.saml.processing.core.parsers.saml.protocol.SAMLRequestAbstractParser<T>
- All Implemented Interfaces:
StaxParser
- Direct Known Subclasses:
SAMLArtifactResolveParser
,SAMLAttributeQueryParser
,SAMLAuthNRequestParser
,SAMLSloRequestParser
public abstract class SAMLRequestAbstractParser<T extends RequestAbstractType>
extends AbstractStaxSamlProtocolParser<T>
Base Class for SAML Request Parsing
- Since:
- Nov 2, 2010
-
Field Summary
Fields inherited from class org.keycloak.saml.processing.core.parsers.saml.protocol.AbstractStaxSamlProtocolParser
LOOKUP
Fields inherited from class org.keycloak.saml.common.parsers.AbstractStaxParser
expectedStartElement, LOGGER
-
Constructor Summary
ModifierConstructorDescriptionprotected
SAMLRequestAbstractParser
(SAMLProtocolQNames expectedStartElement) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
parseBaseAttributes
(StartElement startElement, T request) Parse the attributes that are common to all SAML Request Typesprotected void
parseCommonElements
(SAMLProtocolQNames element, StartElement elementDetail, XMLEventReader xmlEventReader, RequestAbstractType request) If the current element is one of the common request elements (Issuer, Signature, Extensions), parses it.Methods inherited from class org.keycloak.saml.processing.core.parsers.saml.protocol.AbstractStaxSamlProtocolParser
getElementFromName
Methods inherited from class org.keycloak.saml.common.parsers.AbstractStaxParser
instantiateElement, isUnknownElement, parse, processSubElement, validateStartElement
-
Field Details
-
VERSION_2_0
- See Also:
-
-
Constructor Details
-
SAMLRequestAbstractParser
-
-
Method Details
-
parseBaseAttributes
Parse the attributes that are common to all SAML Request Types- Parameters:
startElement
-request
-- Throws:
ParsingException
-
parseCommonElements
protected void parseCommonElements(SAMLProtocolQNames element, StartElement elementDetail, XMLEventReader xmlEventReader, RequestAbstractType request) throws ParsingException If the current element is one of the common request elements (Issuer, Signature, Extensions), parses it.- Parameters:
element
-xmlEventReader
-request
-- Throws:
ParsingException
-