|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.services.security.auth.ws.SamlAssertionExtractor
public class SamlAssertionExtractor
Extracts SAML Assertions from a String containing a SOAP Message.
Constructor Summary | |
---|---|
SamlAssertionExtractor()
Constructs an instance setting its assertion namespace to "urn:oasis:names:tc:SAML:2.0:assertion". |
|
SamlAssertionExtractor(java.lang.String namespace)
Constructs an instance setting its assertion namespace to value of the passed in namespace argument. |
Method Summary | |
---|---|
java.lang.String |
extractSamlAssertion(java.lang.String soap)
Extracts a SAML security assertion element from a SOAP message. |
AuthenticationRequest |
extractSecurityInfo(java.lang.String soap)
Will extract a SAML security token from the passed in SOAP message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SamlAssertionExtractor()
public SamlAssertionExtractor(java.lang.String namespace)
namespace
- The namespace for the assertion.Method Detail |
---|
public AuthenticationRequest extractSecurityInfo(java.lang.String soap)
extractSecurityInfo
in interface SecurityInfoExtractor<java.lang.String>
soap
- The SOAP message.
AuthenticationRequest
A AuthenticationRequest containing a SamlCredential, or null if no SAML token was present.public java.lang.String extractSamlAssertion(java.lang.String soap) throws javax.xml.stream.XMLStreamException
soap
- The SOAP message.
javax.xml.stream.XMLStreamException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |