Package org.apache.cxf.ws.security.trust
Class STSUtils
- java.lang.Object
-
- org.apache.cxf.ws.security.trust.STSUtils
-
public final class STSUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringSCT_NS_05_02static StringSCT_NS_05_12static StringTOKEN_TYPE_SCT_05_02static StringTOKEN_TYPE_SCT_05_12static StringWST_NS_05_02WS-T 1.0 Namespace.static StringWST_NS_05_12WS-T 1.3 Namespace.static StringWST_NS_08_02WS-T 1.4 Namespace.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanconfigureViaEPR(STSClient client, org.apache.cxf.ws.addressing.EndpointReferenceType epr)static org.apache.cxf.endpoint.EndpointcreateSCEndpoint(org.apache.cxf.Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy)static STSClientcreateSTSClient(STSAuthParams authParams, String stsWsdlLocation, org.apache.cxf.Bus bus)static org.apache.cxf.endpoint.EndpointcreateSTSEndpoint(org.apache.cxf.Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy, QName epName)static StringfindMEXLocation(org.apache.cxf.ws.addressing.EndpointReferenceType ref)static StringfindMEXLocation(Element ref)static STSClientgetClient(org.apache.cxf.message.Message message, String type)static STSClientgetClient(org.apache.cxf.message.Message message, String type, org.apache.wss4j.policy.model.IssuedToken itok)static STSClientgetClientWithIssuer(org.apache.cxf.message.Message message, String type, Element issuer)static StringgetTokenTypeSCT(String trustNs)
-
-
-
Field Detail
-
WST_NS_05_02
public static final String WST_NS_05_02
WS-T 1.0 Namespace.- See Also:
- Constant Field Values
-
WST_NS_05_12
public static final String WST_NS_05_12
WS-T 1.3 Namespace.- See Also:
- Constant Field Values
-
WST_NS_08_02
public static final String WST_NS_08_02
WS-T 1.4 Namespace.- See Also:
- Constant Field Values
-
SCT_NS_05_02
public static final String SCT_NS_05_02
- See Also:
- Constant Field Values
-
SCT_NS_05_12
public static final String SCT_NS_05_12
- See Also:
- Constant Field Values
-
TOKEN_TYPE_SCT_05_02
public static final String TOKEN_TYPE_SCT_05_02
- See Also:
- Constant Field Values
-
TOKEN_TYPE_SCT_05_12
public static final String TOKEN_TYPE_SCT_05_12
- See Also:
- Constant Field Values
-
-
Method Detail
-
getClient
public static STSClient getClient(org.apache.cxf.message.Message message, String type, org.apache.wss4j.policy.model.IssuedToken itok)
-
getClientWithIssuer
public static STSClient getClientWithIssuer(org.apache.cxf.message.Message message, String type, Element issuer)
-
configureViaEPR
public static boolean configureViaEPR(STSClient client, org.apache.cxf.ws.addressing.EndpointReferenceType epr)
-
createSTSClient
public static STSClient createSTSClient(STSAuthParams authParams, String stsWsdlLocation, org.apache.cxf.Bus bus)
-
findMEXLocation
public static String findMEXLocation(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
-
createSTSEndpoint
public static org.apache.cxf.endpoint.Endpoint createSTSEndpoint(org.apache.cxf.Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy, QName epName) throws org.apache.cxf.BusException, org.apache.cxf.endpoint.EndpointException- Throws:
org.apache.cxf.BusExceptionorg.apache.cxf.endpoint.EndpointException
-
createSCEndpoint
public static org.apache.cxf.endpoint.Endpoint createSCEndpoint(org.apache.cxf.Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy) throws org.apache.cxf.BusException, org.apache.cxf.endpoint.EndpointException- Throws:
org.apache.cxf.BusExceptionorg.apache.cxf.endpoint.EndpointException
-
-