"This variable holds the type of user" << this I suppose means a
"role" of an user, right ?
as soon you are using a String to represent the roles, you just
declare this role in the web.xml ....
not sure .. because you seems to be using a custom authorization
mechanism, but if userType is of java type String, eventually the
roles and the userTypes will match :)
On Thu, Jan 22, 2009 at 7:52 PM, <glassfish_at_javadesktop.org> wrote:
> but how would I use my application level variable userType to get tied into the web.xml
>
> I guess I did not understand your answer...
>
> thanks
>
> -Amor
> [Message sent by forum member 'amorous' (amorous)]
>
> http://forums.java.net/jive/thread.jspa?messageID=327698
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>