Hi Matt thanks for reply :-)
I modified security.xml adding this:

...
<intercept-url pattern="/signup.html*" access="ROLE_ADMIN"/>
<intercept-url pattern="/editProfile.html*" access="ROLE_ADMIN"/>
...

in menu-config.xml i edit entry in this way:
...
<Menu name="UserMenu" title="menu.user" description="User Menu"
page="/editProfile.html" roles="ROLE_ADMIN"/>
...

nothing more.
I tried to follow the idea but for sure is not correct.
Tell me if is enough instead i'll put all the code. ;-)

Thanks a lot.
Ema





mraible wrote:
> 
> Can you post a diff of your modification?
> 
> Matt
> 
> On Mon, Aug 25, 2008 at 7:02 AM, mannobug <[EMAIL PROTECTED]> wrote:
>>
>> Hi all I'm new of this community, I started just few days ago to work
>> with
>> AppFuse. First, it's amazing and really powerful. I followed all
>> tutorials
>> starting from persistence to web. I'm working with Hibernate, Spring and
>> Struts2.
>> I'd like to disable editProfile and signup for simple user and for
>> anonimous
>> but i don't know how.
>> I tried to modify security.xml using intercept-url but after this i
>> receive
>> this error when after log in procedure i put this address in browser
>> http://localhost:8080/editProfile.html:
>>
>> Accipicchia!
>>
>> The Struts dispatcher cannot be found.  This is usually caused by using
>> Struts tags without the associated filter. Struts tags are only usable
>> when
>> the request has passed through its servlet filter, which initializes the
>> Struts dispatcher needed for this tag. - [unknown location]
>>        at
>> org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
>>        at
>> org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:52)
>>        at
>> org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:49)
>> ...
>>
>> Any ideas or help? I didn't find any tutorial about this. Thanks a lot.
>> Regards.
>> Ema :-)
>> --
>> View this message in context:
>> http://www.nabble.com/Disable-editProfile-and-signup-tp19143463s2369p19143463.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Disable-editProfile-and-signup-tp19143463s2369p19143946.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to