-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: pagination , dao and security
PostPosted: Thu Apr 21, 2005 6:23 am 
Beginner
Beginner

Joined: Mon Sep 27, 2004 11:51 pm
Posts: 22
Hi ,

This is a newbie architectural question.

l am interested in pagination problem discuss in this forum and scan all the topics post here and other places.

Assume l have a DAO method called findSecrets() , this function need to do security check using interceptor to know who is the user (is the user authorised ?) before the user can receive the large resultset and browse.

Since the return is a large resultset , l consider to use the Class Page described in gavin's article "Pagination in Hibernate and EJB3" or valueList from http://valuelist.sourceforge.net/ to do the paging , but both methods done the paging without a named method or using DAO (both methods done without a DAO), then how to do fine-grained method interception ?

Thanks.

moon


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.