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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
Aggregations