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 EndpointcreateSCEndpoint(Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy)static STSClientcreateSTSClient(STSAuthParams authParams, String stsWsdlLocation, Bus bus)static EndpointcreateSTSEndpoint(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(Message message, String type)static STSClientgetClient(Message message, String type, org.apache.wss4j.policy.model.IssuedToken itok)static STSClientgetClientWithIssuer(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(Message message, String type, org.apache.wss4j.policy.model.IssuedToken itok)
-
getClientWithIssuer
public static STSClient getClientWithIssuer(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, Bus bus)
-
findMEXLocation
public static String findMEXLocation(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
-
createSTSEndpoint
public static Endpoint createSTSEndpoint(Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy, QName epName) throws BusException, EndpointException
- Throws:
BusExceptionEndpointException
-
createSCEndpoint
public static Endpoint createSCEndpoint(Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy) throws BusException, EndpointException
- Throws:
BusExceptionEndpointException
-
-