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
Can a UserProvider access to Doctrine? or any other service?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Emilio Sosa  
View profile  
 More options Oct 5 2012, 9:21 am
From: Emilio Sosa <emili...@gmail.com>
Date: Fri, 5 Oct 2012 06:21:17 -0700 (PDT)
Local: Fri, Oct 5 2012 9:21 am
Subject: Can a UserProvider access to Doctrine? or any other service?

Hi, I'm using an LDAP Bundle ( this exactly
http://knpbundles.com/BorisMorel/LdapBundle ) but I need to add some
functionality connecting to a database for adding more info at Roles
property.

I have tried to connect to doctrine in LdapUserProvider.loadUserByUsername
but I don't know how to access doctrine service.

I have tried extending Container and other classes but I feel like I'm
missing something.

What should be the way?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Emilio Sosa  
View profile  
 More options Oct 8 2012, 6:10 am
From: Emilio Sosa <emili...@gmail.com>
Date: Mon, 8 Oct 2012 03:10:12 -0700 (PDT)
Local: Mon, Oct 8 2012 6:10 am
Subject: Re: Can a UserProvider access to Doctrine? or any other service?

Solved using injectyn doctrine.orm.entity_manager service touching factory
.xml config.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »