Class STSUtils


  • public final class STSUtils
    extends Object
    • Method Detail

      • 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)
      • getClientWithIssuer

        public static STSClient getClientWithIssuer​(org.apache.cxf.message.Message message,
                                                    String type,
                                                    Element issuer)
      • 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