Class TrustPluginImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.TrustPluginImpl
-
- All Implemented Interfaces:
TrustPlugin
public class TrustPluginImpl extends Object implements TrustPlugin
- Author:
- hr124446
-
-
Constructor Summary
Constructors Constructor Description TrustPluginImpl()Creates a new instance of TrustPluginImpl
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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(IssuedTokenContext itc)voidprocessValidate(IssuedTokenContext itc)
-
-
-
Method Detail
-
process
public void process(IssuedTokenContext itc) throws WSTrustException
- Specified by:
processin interfaceTrustPlugin- Throws:
WSTrustException
-
processValidate
public void processValidate(IssuedTokenContext itc) throws WSTrustException
- Specified by:
processValidatein interfaceTrustPlugin- Throws:
WSTrustException
-
doMexRequest
protected static QName[] doMexRequest(String wsdlLocation, String stsURI) throws 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:
WSTrustException
-
-