public final class STSUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SCT_NS_05_02 |
static String |
SCT_NS_05_12 |
static String |
TOKEN_TYPE_SCT_05_02 |
static String |
TOKEN_TYPE_SCT_05_12 |
static String |
WST_NS_05_02
WS-T 1.0 Namespace.
|
static String |
WST_NS_05_12
WS-T 1.3 Namespace.
|
static String |
WST_NS_08_02
WS-T 1.4 Namespace.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
configureViaEPR(STSClient client,
org.apache.cxf.ws.addressing.EndpointReferenceType epr) |
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) |
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) |
static String |
findMEXLocation(Element ref) |
static String |
findMEXLocation(org.apache.cxf.ws.addressing.EndpointReferenceType ref) |
static STSClient |
getClient(org.apache.cxf.message.Message message,
String type) |
static STSClient |
getClient(org.apache.cxf.message.Message message,
String type,
org.apache.wss4j.policy.model.IssuedToken itok) |
static STSClient |
getClientWithIssuer(org.apache.cxf.message.Message message,
String type,
Element issuer) |
static String |
getTokenTypeSCT(String trustNs) |
public static final String WST_NS_05_02
public static final String WST_NS_05_12
public static final String WST_NS_08_02
public static final String SCT_NS_05_02
public static final String SCT_NS_05_12
public static final String TOKEN_TYPE_SCT_05_02
public static final String TOKEN_TYPE_SCT_05_12
public static STSClient getClient(org.apache.cxf.message.Message message, String type, org.apache.wss4j.policy.model.IssuedToken itok)
public static STSClient getClientWithIssuer(org.apache.cxf.message.Message message, String type, Element issuer)
public static boolean configureViaEPR(STSClient client, org.apache.cxf.ws.addressing.EndpointReferenceType epr)
public static String findMEXLocation(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
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
org.apache.cxf.BusExceptionorg.apache.cxf.endpoint.EndpointExceptionpublic 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
org.apache.cxf.BusExceptionorg.apache.cxf.endpoint.EndpointExceptionApache CXF