use of org.jboss.resteasy.client.jaxrs.ResteasyClient in project oxAuth by GluuFederation.
the class FidoU2fClientFactory method createMetaDataConfigurationService.
public U2fConfigurationService createMetaDataConfigurationService(String u2fMetaDataUri) {
ResteasyClient client = ((ResteasyClientBuilder) ResteasyClientBuilder.newBuilder()).httpEngine(engine).build();
ResteasyWebTarget target = client.target(UriBuilder.fromPath(u2fMetaDataUri));
U2fConfigurationService proxy = target.proxy(U2fConfigurationService.class);
return proxy;
}
use of org.jboss.resteasy.client.jaxrs.ResteasyClient in project oxAuth by GluuFederation.
the class UmaClientFactory method createRptStatusService.
public UmaRptIntrospectionService createRptStatusService(UmaMetadata metadata, ClientHttpEngine engine) {
ResteasyClient client = ((ResteasyClientBuilder) ResteasyClientBuilder.newBuilder()).httpEngine(engine).build();
ResteasyWebTarget target = client.target(UriBuilder.fromPath(metadata.getIntrospectionEndpoint()));
UmaRptIntrospectionService proxy = target.proxy(UmaRptIntrospectionService.class);
return proxy;
}
use of org.jboss.resteasy.client.jaxrs.ResteasyClient in project oxAuth by GluuFederation.
the class UmaClientFactory method createResourceService.
public UmaResourceService createResourceService(UmaMetadata metadata, ClientHttpEngine engine) {
ResteasyClient client = ((ResteasyClientBuilder) ResteasyClientBuilder.newBuilder()).httpEngine(engine).build();
ResteasyWebTarget target = client.target(UriBuilder.fromPath(metadata.getResourceRegistrationEndpoint()));
UmaResourceService proxy = target.proxy(UmaResourceService.class);
return proxy;
}
use of org.jboss.resteasy.client.jaxrs.ResteasyClient in project oxAuth by GluuFederation.
the class UmaClientFactory method createTokenService.
public UmaTokenService createTokenService(UmaMetadata metadata, ClientHttpEngine engine) {
ResteasyClient client = ((ResteasyClientBuilder) ResteasyClientBuilder.newBuilder()).httpEngine(engine).build();
ResteasyWebTarget target = client.target(UriBuilder.fromPath(metadata.getTokenEndpoint()));
UmaTokenService proxy = target.proxy(UmaTokenService.class);
return proxy;
}
use of org.jboss.resteasy.client.jaxrs.ResteasyClient in project oxAuth by GluuFederation.
the class UmaClientFactory method createPermissionService.
public UmaPermissionService createPermissionService(UmaMetadata metadata, ClientHttpEngine engine) {
ResteasyClient client = ((ResteasyClientBuilder) ResteasyClientBuilder.newBuilder()).httpEngine(engine).build();
ResteasyWebTarget target = client.target(UriBuilder.fromPath(metadata.getPermissionEndpoint()));
UmaPermissionService proxy = target.proxy(UmaPermissionService.class);
return proxy;
}
Aggregations