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 Endpoint |
createSCEndpoint(Bus bus,
String namespace,
String transportId,
String location,
String soapVersion,
org.apache.neethi.Policy policy) |
static STSClient |
createSTSClient(STSAuthParams authParams,
String stsWsdlLocation,
Bus bus) |
static Endpoint |
createSTSEndpoint(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(Message message,
String type) |
static STSClient |
getClient(Message message,
String type,
org.apache.wss4j.policy.model.IssuedToken itok) |
static STSClient |
getClientWithIssuer(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(Message message, String type, org.apache.wss4j.policy.model.IssuedToken itok)
public static STSClient getClientWithIssuer(Message message, String type, Element issuer)
public static boolean configureViaEPR(STSClient client, org.apache.cxf.ws.addressing.EndpointReferenceType epr)
public static STSClient createSTSClient(STSAuthParams authParams, String stsWsdlLocation, Bus bus)
public static String findMEXLocation(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
public static Endpoint createSTSEndpoint(Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy, QName epName) throws BusException, EndpointException
BusException
EndpointException
public static Endpoint createSCEndpoint(Bus bus, String namespace, String transportId, String location, String soapVersion, org.apache.neethi.Policy policy) throws BusException, EndpointException
BusException
EndpointException
Apache CXF