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,
EndpointReferenceType epr) |
static Endpoint |
createSCEndpoint(Bus bus,
String namespace,
String transportId,
String location,
String soapVersion,
org.apache.neethi.Policy policy) |
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(EndpointReferenceType ref) |
static STSClient |
getClient(Message message,
String type) |
static STSClient |
getClient(Message message,
String type,
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, IssuedToken itok)
public static STSClient getClientWithIssuer(Message message, String type, Element issuer)
public static boolean configureViaEPR(STSClient client, EndpointReferenceType epr)
public static String findMEXLocation(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
Copyright © 2017 JBoss by Red Hat. All rights reserved.