org.apache.cxf.ws.security.trust
Class STSUtils
java.lang.Object
org.apache.cxf.ws.security.trust.STSUtils
public final class STSUtils
- extends Object
|
Method Summary |
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 String |
getTokenTypeSCT(String trustNs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
getTokenTypeSCT
public static String getTokenTypeSCT(String trustNs)
getClient
public static STSClient getClient(org.apache.cxf.message.Message message,
String type)
getClient
public static STSClient getClient(org.apache.cxf.message.Message message,
String type,
org.apache.wss4j.policy.model.IssuedToken itok)
configureViaEPR
public static boolean configureViaEPR(STSClient client,
org.apache.cxf.ws.addressing.EndpointReferenceType epr)
findMEXLocation
public static String findMEXLocation(org.apache.cxf.ws.addressing.EndpointReferenceType ref)
findMEXLocation
public static String findMEXLocation(Element 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.BusException
org.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.BusException
org.apache.cxf.endpoint.EndpointException
Apache CXF