Subject: any security access pattern? 2005-06-24 - By Juan Carlos
Back Hi everybody, I'm developing a web application based on Struts and JDO. I'm using container authentication, but I need another mechanism to control the access to some sections of the pages. I have two options to do it: 1) load in the user session an object with their permission (C,R,U,D) for each section. Would it overload the server? 2) access the database each time the user try to access a section caching the results for next accesses.
The load and concurrency of users is high, so I have to improve it as much as possible. I don't know if there's a pattern to do it.
Thanks a lot!
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|