com.sun.xml.ws.security.trust.impl
Class TrustPluginImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.TrustPluginImpl
All Implemented Interfaces:
TrustPlugin

public class TrustPluginImpl
extends java.lang.Object
implements TrustPlugin


Constructor Summary
TrustPluginImpl()
          Creates a new instance of TrustPluginImpl
 
Method Summary
protected static javax.xml.namespace.QName[] doMexRequest(java.lang.String wsdlLocation, java.lang.String stsURI)
          This method uses mex client api to issue a mex request and return the matching service name and port name
 void process(com.sun.xml.ws.security.IssuedTokenContext itc)
           
 void processValidate(com.sun.xml.ws.security.IssuedTokenContext itc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustPluginImpl

public TrustPluginImpl()
Creates a new instance of TrustPluginImpl

Method Detail

process

public void process(com.sun.xml.ws.security.IssuedTokenContext itc)
             throws WSTrustException
Specified by:
process in interface TrustPlugin
Throws:
WSTrustException

processValidate

public void processValidate(com.sun.xml.ws.security.IssuedTokenContext itc)
                     throws WSTrustException
Specified by:
processValidate in interface TrustPlugin
Throws:
WSTrustException

doMexRequest

protected static javax.xml.namespace.QName[] doMexRequest(java.lang.String wsdlLocation,
                                                          java.lang.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