Questions tagged [service-provider]
380 questions
3
votes
1 answer
Trying to use the ConnectionFactory class created by singleton in DatabaseServiceProvider
So Tapestry has its default DatabaseServiceProvider.php with the below code inside.
$this->app->singleton('db.factory', function ($app) {
return new ConnectionFactory($app);
});
I want to be able to use the db.factory facade created by this to…

Shardj
- 1,800
- 2
- 17
- 43
3
votes
1 answer
Definitive list of service providers in Visual Studio 2010?
VS2010 has made it easy to write extensions via MEF exports and imports. However, if you want to do anything useful you have to know what service provider(s) you need to implement your super awesoem extension.
Unfortunately, this information is…
user1228
3
votes
1 answer
How to log message while registering a ServiceProvide in Laravel?
So I have a Laravel service provider and I would like to create a DEBUG log entry when it is applied:

marcio
- 10,002
- 11
- 54
- 83
3
votes
1 answer
Is it possible to integrate the jQuery DataTables plugin into a Silex application with doctrine 2?
I want to integrate jQuery DataTables into a Silex application with Doctrine 2.
Is there any dedicated service provider or object for that? I'm looking for something similar to this bundle (Symfony2):
https://github.com/stwe/DatatablesBundle

dsoms
- 155
- 9
3
votes
1 answer
SAML Standard for Service Provider Attribute Mapping
We run a Shibboleth Identity Provider, and have been increasingly asked to integrate with applications using non-Shibboleth SAML solutions, and encountering difficulty with regard to attribute naming. With a pure Shibboleth IdP & SP relationship, I…

HOG Wild
- 208
- 1
- 8
3
votes
2 answers
Defining a SPI in Clojure
I'm looking for an idiomatic way(s) to define an interface in Clojure that can be implemented by an external "service provider". My application would locate and instantiate the service provider module at runtime and delegate certain…

Joe Holloway
- 28,320
- 15
- 82
- 92
3
votes
2 answers
Metadata for service provider. Using OpenSAML
I'm using the opensaml for our application that acts as Service Provider.
So far, I have been manually creating the SP Metadata.
Is there example in Java to show how to programatically generate Service
Provider Metadata ?

Classico
- 101
- 2
- 7
3
votes
0 answers
Glassfish 3.1.2.2: @WebServiceProvider deployment fails: DPL5041 : Unknown port-component-name
I am having problems to get a @WebServiceProvider web service deployed in Glassfish 3.1.2.
I configured the glassfish-ejb-jar.xml the following way for my service.
TestWebService
…

user2310505
- 31
- 2
2
votes
1 answer
AddHttpClient configureClient method is not executing
I thought I understood how AddHttpClient worked, but apparently, I do not. I've distilled this problem down to the very basics, and it still isn't functioning as I expect.
I have the following class and interface:
public interface ISomeService
{
…

AceGambit
- 423
- 3
- 11
2
votes
1 answer
.NET OpenTelemetry Not Adding Listener For ActivitySource
Why is OpenTelemetry .NET not adding a listener for my ActivitySource in a hosted service on generic host?
I have some configurations to pass into OpenTelemetry set-up, so I depend on a class MyClass. This means registering that class, and then…

Coal Chris
- 21
- 2
2
votes
2 answers
Is there a way to provide SAML sp implementation using an Apache filter?
I'm really new with SAML SSO. I'm woking with an idp webapp that will support SAML authentication.
The problem is that I will need that other sp authenticate with my idp and I don't want to implement all the protocol in every platform (Python, PHP,…

Joaquín M
- 1,135
- 1
- 10
- 20
2
votes
2 answers
IServiceProvider instance in .Net 6
On my .Net 5 ASP.NET application at Startup.cs I have the follwing (for Hangfire):
public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IServiceProvider serviceProvider)
{
...
GlobalConfiguration.Configuration.UseActivator(new…

ram dvash
- 190
- 1
- 11
2
votes
1 answer
C# How do you build up a collection in the IServiceCollection across library boundaries?
I inject a generic list List through a constructor. Users of my library should be able to add their own implementations of ICommand. All of the ICommand implementations are known at compile time. Currently, I add to the ServiceCollection…

Matt Newcomb
- 101
- 5
2
votes
1 answer
How to create a SAML IDP that authenticates with an API from scratch
Right now I'm rolled in a project where we want to create an SAML IDP with Node.
Problem:
We have a system that implements an API REST and this API authenticates users, its response has the information of the authenticated user... just as an API…
2
votes
1 answer
Driver [google] is not supported
I have installed
composer require nao-pon/flysystem-google-drive:~1.1 on my project's root. I have also added this on my filesystems.php
'google' => [
'driver' => 'google',
'clientId' => env('GOOGLE_DRIVE_CLIENT_ID'),
…

Yeisson Pinilla
- 25
- 7