Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / November 2004

Tip: Looking for answers? Try searching our database.

User Permissions in Swing

Thread view: 
Daniel Nuriyev - 17 Nov 2004 11:25 GMT
Hello and thanks all
I need  a GUI programmer to drag-n-drop components onto forms, set
their properties (like in MS Visual Studio) and then when the program
will run, I want the controls show/hide/disable, respond to events/not
to respond to events, respond to events in certain ways and all this
depending on the current user's permissions.
Certainly, it is possible to hardcode security checks in each set/get,
event and method.
My question is: is there some generic way to draw a GUI and then have
it behave based on a user's permissions without hardcoding the
security checks in each method?
Thomas Weidenfeller - 17 Nov 2004 15:49 GMT
> My question is: is there some generic way to draw a GUI and then have
> it behave based on a user's permissions without hardcoding the
> security checks in each method?

Guessing from the very sparse information you provide I would guess that
you want to have a look at Actions to control the state of GUI elements.

For checking permissions you will have to write your own code.

/Thomas


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.