|
|||||||||
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.WSSecuritySoapExtractor
public class WSSecuritySoapExtractor
WSSecurityInfoExtractor extracts security related information from a SOAP security header.
If the security element contains a 'UsernameToken' element this will be extraced into a principal with the username and a credential being the password represented as a character array.
Constructor Summary | |
---|---|
WSSecuritySoapExtractor()
|
Method Summary | |
---|---|
AuthenticationRequest |
extractSecurityInfo(javax.xml.soap.SOAPMessage soap)
Extracts UsernameToken element is one exists and creates a Principal with the username and sets a Credential using the password. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSSecuritySoapExtractor()
Method Detail |
---|
public AuthenticationRequest extractSecurityInfo(javax.xml.soap.SOAPMessage soap)
Note that this method i restrictive in reporting errors within the soap message. This is instead reflected in missing values in the returned AuthenticationRequest. This is done on purpose as not to give away any information about missing information. The SecuritySerivce impl should decide what information it wants a caller to recieve.
extractSecurityInfo
in interface SecurityInfoExtractor<javax.xml.soap.SOAPMessage>
soap
- - the soap message represented as a String
AuthenticationRequest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |