On Saturday 06 December 2003 16:50, Konstantin Priblouda wrote:
> > if I want to have several users that could have
> > different accessed to the
> > handfull of modules, then I should write a lot o
> > these three lines. Or maybe
> > I am wrong?
>
> You are wrong. You shall specify "roles"  necessary
> to access certain features - this would be stable set.

AFAIK I should have a block like 
 <security-constraint>
    <web-resource-collection>
        <web-resource-name>
            province
        </web-resource-name>
        <url-pattern>
            /province.do
        </url-pattern>
        <http-method>GET</http-method>
        <http-method>POST</http-method>
    </web-resource-collection>
        <auth-constraint>
            <role-name>admin</role-name>
        </auth-constraint>
</security-constraint>

For every module I have in my application, isn't it?

>
>
> And then map roles to users via some security
> mechanism
> of your web container.
>
> regards,
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Zu Verst�rkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] f�r die Festanstellung.
> Arbeitsort: Mainz
> Skills:  Programieren, Kentnisse in OpenSource-Bereich
> ----[ http://www.pribluda.de ]------------------------
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user

-- 
Don't go around saying the world owes you a living.  The world owes you
nothing.  It was here first.
                -- Mark Twain


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to