# Mutliple engines with one authorization?

**URL:** <https://www.ruby-forum.com/t/mutliple-engines-with-one-authorization/80725>\
**Category:** Engines Development\
**Created:** [December 30, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/mutliple-engines-with-one-authorization/80725 "2006-12-30T17:40:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dracos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ea666f/32.png) [@dracos](https://www.ruby-forum.com/u/dracos)\
**Post date:** [December 30, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/mutliple-engines-with-one-authorization/80725/1 "2006-12-30T17:40:18Z")

</div>

Hi,

Supposed I have both store and forum engines running in one app. I  
want to have a single login for both running as an authentication  
engine. Is this a big deal? I imagine that I can have the  
authentication engine load first and then the other two engines. There  
was talk of engines loosing control of loading order and then there  
was talk of keeping loading order available in the same old way but as  
a secret part of the engines API. Is this what happened?

Thanks,  
Peter

---

<div class="post-metadata">

**Author:** ![dracos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ea666f/32.png) [@dracos](https://www.ruby-forum.com/u/dracos)\
**Post date:** [December 30, 2006, 7:32pm UTC](https://www.ruby-forum.com/t/mutliple-engines-with-one-authorization/80725/2 "2006-12-30T19:32:51Z")

</div>

Hi again Peter,

Controlling the load order will still be possible with the 1.2  
release; however, it’s still a good idea to avoid any startup  
dependencies if possible. In practice this means trying not to require  
(explicitly or implicitly) any code from other plugins in your  
engine/plugin initialization.

Once the application has started and controllers get loaded, all your  
plugins will be in the load path and they can reference code without  
any issues.

- James
