Class TrustPluginImpl

    • 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 com.sun.xml.ws.api.security.trust.WSTrustException
        Specified by:
        process in interface TrustPlugin
        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:
        processValidate in interface TrustPlugin
        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