Not directly... it's not even possible in DBIC to have relationships between different databases, which is essentially what you're talking about doing.

You can accomplish the same thing client-side if you write your own user store module(s), which is not fundamentally difficult. I have done a similar thing for our Cat application; we authenticate via Unix accounts (/etc/passwd), or DBIC, or LDAP or (insert other yet-to-exist authentication methods). The user roles are all defined in the database.

The user store documentation available on CPAN describes how to write modules such that they will interface with Catalyst properly, and it's not very difficult. I did my first one in half a day, having practically zero experience with catalyst internals at the time. (I have since rewritten it a time or two, and each iteration is better and cleaner, as you would expect).

--
Jonathan


Stephan Jennewein wrote:
Hi,

is it possible to use ldap to authenticate and dbic (a database) to handle the
user role relation ? So that it works like it resides all in one storage
backend.
If yes how do I configure that in the $application.conf ?

Stephan

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


--
Inbound and outbound email scanned for spam and viruses by the

DoubleCheck Email Manager: http://www.doublecheckemail.com

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to