Class SoapSTSInstanceLifecycleManagerImpl

    • Constructor Detail

      • SoapSTSInstanceLifecycleManagerImpl

        public SoapSTSInstanceLifecycleManagerImpl()
    • Method Detail

      • exposeSTSInstanceAsWebService

        public org.apache.cxf.endpoint.Server exposeSTSInstanceAsWebService​(Map<String,​Object> webServiceProperties,
                                                                            org.apache.cxf.ws.security.sts.provider.SecurityTokenServiceProvider securityTokenServiceProvider,
                                                                            SoapSTSInstanceConfig stsInstanceConfig)
                                                                     throws STSPublishException
        Specified by:
        exposeSTSInstanceAsWebService in interface SoapSTSInstanceLifecycleManager
        Parameters:
        webServiceProperties - The properties provided to the soap-sts instance. Obtained from the injector driven by a SoapSTSInstanceConfig instance. Defines things like the crypto context, and the validators plugged into the SecurityPolicy context.
        securityTokenServiceProvider - The actual implementation of the STS. Also obtained from the injector driven by SoapSTSInstanceConfig instance.
        stsInstanceConfig - The actual SoapSTSInstanceConfig corresponding to the to-be-published instance
        Returns:
        the cxf.endpoint.Server instance returned from the cxf web-service create invocation. Must be passed to the destorySTSInstance.
        Throws:
        STSPublishException - If the operation cannot be successfully completed.