Class TrustPluginImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.TrustPluginImpl
- All Implemented Interfaces:
TrustPlugin
- Author:
- hr124446
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static QName[]doMexRequest(String wsdlLocation, String stsURI) This method uses mex client api to issue a mex request and return the matching service name and port namevoidprocess(com.sun.xml.ws.security.IssuedTokenContext itc) voidprocessValidate(com.sun.xml.ws.security.IssuedTokenContext itc)
-
Constructor Details
-
TrustPluginImpl
public TrustPluginImpl()Creates a new instance of TrustPluginImpl
-
-
Method Details
-
process
public void process(com.sun.xml.ws.security.IssuedTokenContext itc) throws com.sun.xml.ws.api.security.trust.WSTrustException - Specified by:
processin interfaceTrustPlugin- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
processValidate
public void processValidate(com.sun.xml.ws.security.IssuedTokenContext itc) throws com.sun.xml.ws.api.security.trust.WSTrustException - Specified by:
processValidatein interfaceTrustPlugin- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
doMexRequest
protected static QName[] doMexRequest(String wsdlLocation, String stsURI) throws com.sun.xml.ws.api.security.trust.WSTrustException This method uses mex client api to issue a mex request and return the matching service name and port name- Parameters:
stsURI- URI to the STS. Mex request will be issued to this address- Returns:
- List of 2 QName objects. The first one will be serviceName and the second one will be portName.
- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-