Apache CXF API

org.apache.cxf.ws.security.trust
Class STSUtils

java.lang.Object
  extended by org.apache.cxf.ws.security.trust.STSUtils

public final class STSUtils
extends Object


Field Summary
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.
 
Method Summary
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 STSClient getClient(Message message, String type)
           
static STSClient getClient(Message message, String type, 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
 

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

getTokenTypeSCT

public static String getTokenTypeSCT(String trustNs)

getClient

public static STSClient getClient(Message message,
                                  String type)

getClient

public static STSClient getClient(Message message,
                                  String type,
                                  IssuedToken itok)

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:
BusException
EndpointException

createSCEndpoint

public static Endpoint createSCEndpoint(Bus bus,
                                        String namespace,
                                        String transportId,
                                        String location,
                                        String soapVersion,
                                        org.apache.neethi.Policy policy)
                                 throws BusException,
                                        EndpointException
Throws:
BusException
EndpointException

Apache CXF API

Apache CXF