Class SamlTokenExtractionHandler
- java.lang.Object
-
- com.vmware.sso.client.soaphandlers.SSOHeaderHandler
-
- com.vmware.sso.client.soaphandlers.SamlTokenExtractionHandler
-
- All Implemented Interfaces:
jakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>,jakarta.xml.ws.handler.soap.SOAPHandler<jakarta.xml.ws.handler.soap.SOAPMessageContext>
public class SamlTokenExtractionHandler extends SSOHeaderHandler
Handler class to extract the Saml token from the response stream in the raw form before JAX-WS deserializes it. This is needed because the default deserializer with JAX-WS does not maintain the line separators present inside the token while deserializing and later serializing the SAML token. Thus we have introduced this crude way to extracting the raw token to be used for other operations
-
-
Constructor Summary
Constructors Constructor Description SamlTokenExtractionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.ElementgetToken()booleanhandleMessage(jakarta.xml.ws.handler.soap.SOAPMessageContext smc)-
Methods inherited from class com.vmware.sso.client.soaphandlers.SSOHeaderHandler
close, getHeaders, handleFault
-
-