Class SoapSTSInstanceLifecycleManagerImpl
- java.lang.Object
-
- org.forgerock.openam.sts.soap.publish.SoapSTSInstanceLifecycleManagerImpl
-
- All Implemented Interfaces:
SoapSTSInstanceLifecycleManager
public class SoapSTSInstanceLifecycleManagerImpl extends Object implements SoapSTSInstanceLifecycleManager
- See Also:
SoapSTSInstanceLifecycleManager
-
-
Constructor Summary
Constructors Constructor Description SoapSTSInstanceLifecycleManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroySTSInstance(org.apache.cxf.endpoint.Server server)Deletes the soap-sts web-service.org.apache.cxf.endpoint.ServerexposeSTSInstanceAsWebService(Map<String,Object> webServiceProperties, org.apache.cxf.ws.security.sts.provider.SecurityTokenServiceProvider securityTokenServiceProvider, SoapSTSInstanceConfig stsInstanceConfig)
-
-
-
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:
exposeSTSInstanceAsWebServicein interfaceSoapSTSInstanceLifecycleManager- 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.
-
destroySTSInstance
public void destroySTSInstance(org.apache.cxf.endpoint.Server server) throws STSPublishExceptionDescription copied from interface:SoapSTSInstanceLifecycleManagerDeletes the soap-sts web-service.- Specified by:
destroySTSInstancein interfaceSoapSTSInstanceLifecycleManager- Parameters:
server- the instance returned by the corresponding exposeSTSInstanceAsWebService invocation.- Throws:
STSPublishException- If the operation cannot be successfully completed.
-
-