PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.parsers.saml
Class SAMLResponseParser

java.lang.Object
  extended by org.picketlink.identity.federation.core.parsers.saml.SAMLStatusResponseTypeParser
      extended by org.picketlink.identity.federation.core.parsers.saml.SAMLResponseParser
All Implemented Interfaces:
ParserNamespaceSupport

public class SAMLResponseParser
extends SAMLStatusResponseTypeParser
implements ParserNamespaceSupport

Parse the SAML Response

Since:
Nov 2, 2010
Author:
Anil.Saldhana@redhat.com

Field Summary
 
Fields inherited from class org.picketlink.identity.federation.core.parsers.saml.SAMLStatusResponseTypeParser
logger
 
Constructor Summary
SAMLResponseParser()
           
 
Method Summary
 Object parse(XMLEventReader xmlEventReader)
          Parse the event stream
protected  StatusResponseType parseBaseAttributes(StartElement startElement)
          Parse the attributes at the response element
 boolean supports(QName qname)
          Returns whether the parser supports parsing a particular namespace
 
Methods inherited from class org.picketlink.identity.federation.core.parsers.saml.SAMLStatusResponseTypeParser
parseStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLResponseParser

public SAMLResponseParser()
Method Detail

parse

public Object parse(XMLEventReader xmlEventReader)
             throws ParsingException
Description copied from interface: ParserNamespaceSupport
Parse the event stream

Specified by:
parse in interface ParserNamespaceSupport
Returns:
Throws:
ParsingException
See Also:
ParserNamespaceSupport#parse(XMLEventReader)}

supports

public boolean supports(QName qname)
Description copied from interface: ParserNamespaceSupport
Returns whether the parser supports parsing a particular namespace

Specified by:
supports in interface ParserNamespaceSupport
Returns:
See Also:
ParserNamespaceSupport#supports(QName)}

parseBaseAttributes

protected StatusResponseType parseBaseAttributes(StartElement startElement)
                                          throws ParsingException
Parse the attributes at the response element

Overrides:
parseBaseAttributes in class SAMLStatusResponseTypeParser
Parameters:
startElement -
Returns:
Throws:
ConfigurationException
ParsingException

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.