org.jboss.resteasy.plugins.server.embedded.SecurityDomain Java Examples
The following examples show how to use
org.jboss.resteasy.plugins.server.embedded.SecurityDomain.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RequestDispatcher.java From quarkus with Apache License 2.0 | 5 votes |
public RequestDispatcher(final SynchronousDispatcher dispatcher, final ResteasyProviderFactory providerFactory, final SecurityDomain domain, ClassLoader classLoader) { this.dispatcher = dispatcher; this.providerFactory = providerFactory; this.domain = domain; this.classLoader = classLoader; }
Example #2
Source File: VertxPluginRequestHandler.java From redpipe with Apache License 2.0 | 5 votes |
public VertxPluginRequestHandler(Vertx vertx, ResteasyDeployment deployment, String servletMappingPrefix, SecurityDomain domain, List<Plugin> plugins) { this.vertx = vertx; this.dispatcher = new PluginRequestDispatcher((SynchronousDispatcher) deployment.getDispatcher(), deployment.getProviderFactory(), domain, plugins); this.servletMappingPrefix = servletMappingPrefix; appGlobals = AppGlobals.get(); }
Example #3
Source File: InMemoryRestServer.java From rest-api-test with Apache License 2.0 | 5 votes |
/** * Create instance and pass given instances/classes as singletons/proviers. * * @param objects * @return running instance of {@link InMemoryRestServer} * @throws IOException */ public static InMemoryRestServer create(SecurityDomain securityDomain, Object... objects) throws IOException { InMemoryRestServer inMemoryRestServer = new InMemoryRestServer(objects); inMemoryRestServer.withDefaults(securityDomain); inMemoryRestServer.start(); return inMemoryRestServer; }
Example #4
Source File: RequestDispatcher.java From quarkus with Apache License 2.0 | 4 votes |
public SecurityDomain getDomain() { return domain; }
Example #5
Source File: SofaNettyJaxrsServer.java From sofa-rpc with Apache License 2.0 | 4 votes |
@Override public void setSecurityDomain(SecurityDomain sc) { this.domain = sc; }
Example #6
Source File: PluginRequestDispatcher.java From redpipe with Apache License 2.0 | 4 votes |
public PluginRequestDispatcher(SynchronousDispatcher dispatcher, ResteasyProviderFactory providerFactory, SecurityDomain domain, List<Plugin> plugins) { super(dispatcher, providerFactory, domain); this.plugins = plugins; }
Example #7
Source File: InMemoryRestServer.java From rest-api-test with Apache License 2.0 | 4 votes |
private void withDefaults(SecurityDomain securityDomain) { this.securityDomain = securityDomain; this.resteasyClient = new ResteasyClientBuilder().build(); }