Well, I want to discern different types of users. Based on the type, I want
the system to expose different functionality. Roles seemed quite useful for
this, as I can both set the type by assigning a role to the user and render
a menu dynamically.
I found out that when a menu is specified for a r
Unfortunately the command line gives the same error. Here is a maven run with
-e switch:
Embedded error: The following error occurred while executing this line:
/Users/marekkarczewski/NetBeansProjects/HW_STRUTS/src/test/resources/login.xml:1:
Unexpected exception caught: java.net.ConnectException
fixed one problem. Tomcat starts now; it was a misspelled profile name (I
changed integration-test to something else).
But now I get:
[INFO] [dbunit:operation {execution: test}]
[INFO] [war:war {execution: default-war}]
[INFO] Exploding webapp...
[INFO] Assembling webapp HW_STRUTS in
/Users/mar
i have such a senario.
admins can become a user to the can help with settings.
what i do is a relog the admin in with the new roles attached to his or
her account.
tibi
Matt Raible wrote:
> Do you have a use case that requires allowing users to assign
> themselves roles?
>
> The reason I ask is
It looks like you need to make an entry in your hosts file so your machine
knows that "localhost" should point to 127.0.0.1.
On Sun, Sep 20, 2009 at 3:53 AM, measwel wrote:
>
> fixed one problem. Tomcat starts now; it was a misspelled profile name (I
> changed integration-test to something else).
The problem with doing things this way is that a user will still have access
to parts of your system unless you're locking down URLs based on role as
well. Just because the URL isn't there doesn't mean they can't get to it.
While this may be useful for your project, I don't think it's useful for t
sounds different then what I do. I have both ADMIN_ROLE and USER_ROLE defined
as system roles. They can only be removed / added by somebody with admin
priviledges.
I also have SOME_ROLE that can be freely added / removed by the user
himself. When the user ads this role, he gets extra menu's rend