org.jboss.soa.esb.services.security.auth.ws
Class SamlSoapAssertionExtractor

java.lang.Object
  extended by org.jboss.soa.esb.services.security.auth.ws.SamlSoapAssertionExtractor
All Implemented Interfaces:
SecurityInfoExtractor<javax.xml.soap.SOAPMessage>

public class SamlSoapAssertionExtractor
extends java.lang.Object
implements SecurityInfoExtractor<javax.xml.soap.SOAPMessage>

Extracts SAML Assertions from a SOAPMessage.

Author:
Daniel Bevenius

Constructor Summary
SamlSoapAssertionExtractor()
           
 
Method Summary
 AuthenticationRequest extractSecurityInfo(javax.xml.soap.SOAPMessage soap)
          Will extract a SAML security token from the passed in SOAP Message instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamlSoapAssertionExtractor

public SamlSoapAssertionExtractor()
Method Detail

extractSecurityInfo

public AuthenticationRequest extractSecurityInfo(javax.xml.soap.SOAPMessage soap)
Will extract a SAML security token from the passed in SOAP Message instance.

Specified by:
extractSecurityInfo in interface SecurityInfoExtractor<javax.xml.soap.SOAPMessage>
Parameters:
soap - The SOAP message.
Returns:
AuthenticationRequest A AuthenticationRequest containing a SamlCredential, or null if no SAML token was present.