|
|||||||||
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.UsernameTokenExtractor
public class UsernameTokenExtractor
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 | |
---|---|
UsernameTokenExtractor(java.lang.String securityNS)
|
Method Summary | |
---|---|
AuthenticationRequest |
extractSecurityInfo(java.lang.String 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 UsernameTokenExtractor(java.lang.String securityNS)
Method Detail |
---|
public AuthenticationRequest extractSecurityInfo(java.lang.String soap) throws ExtractionException
extractSecurityInfo
in interface SecurityInfoExtractor<java.lang.String>
soap
- the soap message represented as a String
AuthenticationRequest
ExtractionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |