Stéphane Zuckerman wrote:
First of all, you should understand that using JBoss, Tomcat (which
implicitly is run under JBoss), or any other application server doesn't
change anything. If you embed the right libraries (jar, ear, war,
whatever), everything should work fine for your server. Anything else is
a problem coming from your web app.
Not necessarily. The code snipet below is checking for an authenticated
user's authroized roles. If the app is depending on contain managed
security, it's dependant on vendor-specific configuration. Simply deploying
the war file isn't enough to get it working.
<logic:present role="Administrator">
<html:submit styleId="form_submit"/>
</logic:present>
<logic:notPresent role="Administrator">
<html:submit disabled="true" styleId="form_submit"/>
</logic:notPresent>
This piece of code just means that if the role "Administrator" has been
defined for the current user, then it should display the "submit"
button. Otherwise, the submit does nothing.
Right. So you need to follow the documentation supplied with the
application and/or look up the relevant info in the JBoss docs on setting
up the required users and roles.
L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]