Questions tagged [service-provider]
380 questions
0
votes
2 answers
How a Java application is extended by C++ Service Providers?
I am creating an extensible java application using service providers concept. I have an abstract class named PoolTuningStrategy which is a service and USERS of my application provide their services in form of Service providers that extends this…

user3741146
- 31
- 6
0
votes
1 answer
What extension / plugin / provider mechanisms could be used for making my web application extensible?
I am working on a JavaEE web application which shall be able to fetch data from different sources. The data will be fetched and persisted in a database for later processing and reporting. I started with one default data provider covering a specific…

Michael
- 131
- 5
0
votes
1 answer
Laravel 4 passing Controller $this to ServiceProvider
I want to pass $this from my Controller to my Service Provider so I can use it with my custom class. That way, I can reference back to my controller and output the success.
Controller
function Foo(){
//$this is defined
…

Wistar
- 3,770
- 4
- 45
- 70
0
votes
1 answer
IDE Auto-complete with Laravel's Service Providers
I recently started using PhpStorm though I don't think the problem is only about this specific IDE.
It provides a great help with the auto-complete feature but there's a problem with the interfaces. I used the exactly same interface structure with…

Hkan
- 3,243
- 2
- 22
- 27
0
votes
1 answer
How to get instances into a base class
I'm building a simple MVC framework in PHP and I'm stuck at the part where I have to create a BaseController class.
Every "page" controller needs to extend from this BaseController. Because this BaseController class will have properties that will…

Vivendi
- 20,047
- 25
- 121
- 196
0
votes
3 answers
Use specific ServiceProvider in Laravel 4
Laravel 4 ships with the php artisan routes command. This shows a list of registered routes on the command line. Instead of showing the registered routes on the command line, I would like to get its values within a controller.
The following method…

Ronald Hulshof
- 1,986
- 16
- 22
0
votes
1 answer
Shibboleth - Service Provider protect resource on different server
I have two servers - Server A and Server B, each with their own public IP address.
Server A hosts my production web application:
http://client1.mydomain.com
http://client2.mydomain.com
http://client3.mydomain.com
Server B hosts my Shibboleth…

Adam Levitt
- 10,316
- 26
- 84
- 145
0
votes
1 answer
Java code to create SAML 2.0 AuthnRequest based on meta data xmls
Can someone please share the complete Java code to create an AuthnRequest for web browser sso based SAML2.0. We have a service provider to use a 3rd party IDP. I am working with a J2EE component in the DMZ that wouldn't let any jar files to add, so…

Hello All
- 21
- 1
- 5
0
votes
0 answers
Cant get Laravel 4 to work - Getting Class not found error
OK, so I am trying to create a working Facade for the Resizer bundle for Laravel 3 (https://github.com/maikeldaloo/Resizer).
So far I have:
Created a "Resizer.php" file with the code from the Reszier bundle and added the namespace…

Ben Thompson
- 4,743
- 7
- 35
- 52
0
votes
1 answer
simplesamplephp sp + idp set up issue
I am running two simplesamplephp instances (one for SP and one for IdP) and playing around with SSO. My IdP uses openLDAP for authorization.
I started from the following php code by putting them in an example.php file, put the example.php file in…

Eric H.
- 341
- 2
- 7
- 18
0
votes
1 answer
dynamic laravel4 service provider routes
I am preparing a bundle for Laravel4 and cannot find a way how I can add a configurable routes to my bundle.
Example:
//this is from the service provider of the bundle
public function register()
{
...
$this->registerRoutes();
…

Pavel Genov
- 39
- 3
0
votes
1 answer
shibd_Default service cannot be started
While working on configuring the Shibbolet SP, I had to stop and start the shibd service many times after reconfiguring the shibboleth2.xml file.
first it worked ok, but then I couldn't start it again!
when running this command on cmd C:\>net start…

Ruba
- 867
- 3
- 11
- 19
0
votes
1 answer
SAML2.0 formated attribute for assertion - Federation Identity
We have a SAML 2.0 federated environment (IDP and SP). I would like to generate a custom attribute for assertions created only for one SP. As such, I will not modify the IDP configuration.
The snippet of the SAML Assertion we need to create:
<…

Rostam
- 81
- 1
- 9
0
votes
1 answer
pop up message from service provider(telecom network) causing activity to pause
I've found out that pop up messages from my service provider(telecom network) is causing my app activity to get paused.Is there any way i can prevent these from pausing my activity?

shady2020
- 115
- 3
- 13
-1
votes
1 answer
How to notify the service provider to block/unblock the incoming SMS programatically in android?
I want to notify the service provider to block and unblock the incoming SMS. Is it possible to do this programtically?

Ram
- 91
- 1
- 1
- 3