I am creating a JAX WS client to call a webservice. There is a OWSM security policy wss_username_token_service_policy added to it through enterprise manager. To apply the security policy to client i used below code:
weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature[] securityFeature = new weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature[] { new weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature(
"policy:oracle/wss_username_token_service_policy"
)};
But I am unable to find SecurityPolicyFeature in weblogic.jar. There is only in one class "PolicySubjectBindingFeature" under weblogic.wsee.jws.jaxws.owsm. I checked in 10.3.3, 10.3.4 and 10.3.5.
Can you please let me know which jar has the SecurityPolicyFeature class in it?