Am 18.02.2010 um 21:05 schrieb Emil Ong: > The username and password aren't intended to come from the command line. > They are pulled from the configuration file by the Resin boot and passed > to the watchdog.
> The command line authentication uses the admin password to verify the > Resin boot is allowed to start or stop an instance. You don't really > need to know the password or enter it on the command line. It's > essentially using the password hash as a shared key. Thanks for these clarifications. >>>> What is the syntax for the admin-users.xml file commented out in the >>>> example given above? Is it just the user element wrapped in any top-level >>>> element like <users>? > > <resin:AdminAuthenticator xmlns="http://caucho.com/ns/resin" > xmlns:resin="urn:java:com.caucho.resin"> > <user name="admin" password="yCGkvrQHY7K8qtlHsgJ6zg=="/> > </resin:AdminAuthenticator> Works. > Whenever you do a resin:import within an element, the top-level tag of > the imported file is the parent of the <resin:import> Okay, sounds like: The document element (top-level tag) of the imported file has to match the parent element of <resin:import> in the importing document. Correct? If that's the rule, maybe it would be useful to spell it out more explicitly here: http://www.caucho.com/resin/doc/env-tags.xtp#resin:import Thanks. -- Michael.Ludwig (#) XING.com _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
