Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Help : Use a TRUE web services (external from interface app) as a user provider ?!

Date: Fri, 9 Nov 2012 02:25:13 -0800 (PST)
From: djoos <david.j...@gmail.com>
To: symfony2@googlegroups.com
Message-Id: <7922fa39-5820-4c1e-9e95-bbafabe5f168@googlegroups.com>
In-Reply-To: <b458db31-8b99-4535-bf50-17edaa912470@googlegroups.com>
References: <b458db31-8b99-4535-bf50-17edaa912470@googlegroups.com>
Subject: Re: Help : Use a TRUE web services (external from interface app) as
 a user provider ?!
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_696_1672671.1352456713708"

------=_Part_696_1672671.1352456713708
Content-Type: multipart/alternative; 
	boundary="----=_Part_697_27536894.1352456713708"

------=_Part_697_27536894.1352456713708
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hi Shadowalker,

we might have been doing something similar to this a couple of months ago...

Good starting points are...
Custom authentication provider
http://symfony.com/doc/2.0/cookbook/security/custom_authentication_provider.html

Custom user provider
http://symfony.com/doc/2.0/cookbook/security/custom_provider.html

In our case, we created a service that lets us easily use the API to our 
(completely external!) single sign-on, while relying on that SSO to 
authenticate and also load users in our Symfony2 application. Once found we 
do create a link between our "local user" (=Symfony2 user - the Symfony2 
user table doesn't contain any SSO data, except for an SSO user id to link 
things up) and a "SSO user" (=non-Symfony2 SSO application).

Hope this helps!

Kind regards,
David

On Friday, 9 November 2012 09:54:35 UTC, Shadowalker wrote:
>
> Hi all,
> I'm trying to find a way to use a real web services (not a "service" that 
> would reside in the same projects / app / server as my interfaces but on a 
> completely different environment and acts only as an intermediate between 
> the interface API and the DB) and I can't find anything even remotely 
> useful on a specific aspect on the whole authentication & authorization 
> process :
> How do you configure the security layer to use a web service as the user 
> provider ?
>
> Thanks for any help / leads you could provide.
>
> Cheers,
> Shadowalker.
>

------=_Part_697_27536894.1352456713708
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Shadowalker,<div><br></div><div>we might have been doing something simil=
ar to this a couple of months ago...</div><div><br></div><div>Good starting=
 points are...</div><div>Custom authentication provider</div><div><a href=
=3D"http://symfony.com/doc/2.0/cookbook/security/custom_authentication_prov=
ider.html">http://symfony.com/doc/2.0/cookbook/security/custom_authenticati=
on_provider.html</a><br></div><div><br></div><div>Custom user provider</div=
><div><a href=3D"http://symfony.com/doc/2.0/cookbook/security/custom_provid=
er.html">http://symfony.com/doc/2.0/cookbook/security/custom_provider.html<=
/a><br></div><div><br></div><div>In our case, we created a service that let=
s us easily use the API to our (completely external!) single sign-on, while=
 relying on that SSO to authenticate and also load users in our Symfony2 ap=
plication. Once found we do create a link between our "local user" (=3DSymf=
ony2 user - the Symfony2 user table doesn't contain any SSO data, except fo=
r an SSO user id to link things up) and a "SSO user" (=3Dnon-Symfony2 SSO a=
pplication).</div><div><br></div><div>Hope this helps!</div><div><br></div>=
<div>Kind regards,</div><div>David<br><br>On Friday, 9 November 2012 09:54:=
35 UTC, Shadowalker  wrote:<blockquote class=3D"gmail_quote" style=3D"margi=
n: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi =
all,<br>I'm trying to find a way to use a real web services (not a "service=
" that would reside in the same projects / app / server as my interfaces bu=
t on a completely different environment and acts only as an intermediate be=
tween the interface API and the DB) and I can't find anything even remotely=
 useful on a specific aspect on the whole authentication &amp; authorizatio=
n process :<br>How do you configure the security layer to use a web service=
 as the user provider ?<br><br>Thanks for any help / leads you could provid=
e.<br><br>Cheers,<br>Shadowalker.<br></blockquote></div>
------=_Part_697_27536894.1352456713708--

------=_Part_696_1672671.1352456713708--