Search in sources :

Example 46 with SpringBusFactory

use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.

the class BookServerOAuth2Filters method run.

protected void run() {
    SpringBusFactory bf = new SpringBusFactory();
    Bus springBus = bf.createBus(SERVER_CONFIG_FILE);
    BusFactory.setDefaultBus(springBus);
    setBus(springBus);
    try {
        new BookServerOAuth2Filters();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}
Also used : Bus(org.apache.cxf.Bus) SpringBusFactory(org.apache.cxf.bus.spring.SpringBusFactory)

Example 47 with SpringBusFactory

use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.

the class BookServerOAuth2 method run.

protected void run() {
    SpringBusFactory bf = new SpringBusFactory();
    Bus springBus = bf.createBus(SERVER_CONFIG_FILE);
    BusFactory.setDefaultBus(springBus);
    setBus(springBus);
    try {
        new BookServerOAuth2();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}
Also used : Bus(org.apache.cxf.Bus) SpringBusFactory(org.apache.cxf.bus.spring.SpringBusFactory)

Example 48 with SpringBusFactory

use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.

the class BookServerOAuth2Introspection method run.

protected void run() {
    SpringBusFactory bf = new SpringBusFactory();
    Bus springBus = bf.createBus(SERVER_CONFIG_FILE);
    BusFactory.setDefaultBus(springBus);
    setBus(springBus);
    try {
        new BookServerOAuth2Introspection();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}
Also used : Bus(org.apache.cxf.Bus) SpringBusFactory(org.apache.cxf.bus.spring.SpringBusFactory)

Example 49 with SpringBusFactory

use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.

the class OIDCNegativeServer method run.

protected void run() {
    SpringBusFactory bf = new SpringBusFactory();
    Bus springBus = bf.createBus(SERVER_CONFIG_FILE);
    BusFactory.setDefaultBus(springBus);
    setBus(springBus);
    try {
        new OIDCNegativeServer();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}
Also used : Bus(org.apache.cxf.Bus) SpringBusFactory(org.apache.cxf.bus.spring.SpringBusFactory)

Example 50 with SpringBusFactory

use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.

the class UserInfoServer method run.

protected void run() {
    SpringBusFactory bf = new SpringBusFactory();
    Bus springBus = bf.createBus(SERVER_CONFIG_FILE);
    BusFactory.setDefaultBus(springBus);
    setBus(springBus);
    try {
        new UserInfoServer();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}
Also used : Bus(org.apache.cxf.Bus) SpringBusFactory(org.apache.cxf.bus.spring.SpringBusFactory)

Aggregations

SpringBusFactory (org.apache.cxf.bus.spring.SpringBusFactory)936 Bus (org.apache.cxf.Bus)859 URL (java.net.URL)773 QName (javax.xml.namespace.QName)394 Service (javax.xml.ws.Service)384 DoubleItPortType (org.example.contract.doubleit.DoubleItPortType)345 Test (org.junit.Test)123 Client (org.apache.cxf.endpoint.Client)83 Greeter (org.apache.hello_world.Greeter)64 SOAPService (org.apache.hello_world.services.SOAPService)64 JAXRSClientFactoryBean (org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean)37 HashMap (java.util.HashMap)36 SamlCallbackHandler (org.apache.cxf.systest.ws.saml.client.SamlCallbackHandler)32 Greeter (org.apache.cxf.greeter_control.Greeter)23 HTTPConduit (org.apache.cxf.transport.http.HTTPConduit)22 LoggingInInterceptor (org.apache.cxf.ext.logging.LoggingInInterceptor)21 LoggingOutInterceptor (org.apache.cxf.ext.logging.LoggingOutInterceptor)20 WebClient (org.apache.cxf.jaxrs.client.WebClient)18 WSS4JOutInterceptor (org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor)18 Closeable (java.io.Closeable)16