File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
GWT security : how to condition access to fields in a page ?
Joined: Jun 28, 2003
Mar 30, 2011 05:37:35
i read that someone else already asked for information on how to use Spring Security with GWT,
so i will not ask again.
I got a more detailed question then :
with Spring security, you can use tags in
pages to restrict access to areas of pages, or fields.
For instance :
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
This content will only be visible to users who have
the "supervisor" authority in their list of
Of course with GWT I cannot do that since there are no JSP.
How do i restrict access to fields with GWT then ?
I want to be able to hide them if the user does not have the required role.
I also want to be able to display them but disable them (read-only for a textfield for instance) if the user does not have the
Thanks for helping.
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: GWT security : how to condition access to fields in a page ?
Problem implementing Security-Constraint in tomcat 5.0.28
why sec:authorize doesn't work?
Using Realms for access controll with multiple roles
request. get User Principal(). getName() do not retreive user name
[Spring Security] Restrict access to fields in a page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013