Results 1 to 2 of 2

Thread: Rowlevel security Spring + Hibernate + Jboss

Hybrid View

  1. #1
    Join Date
    Nov 2011
    Posts
    6

    Default Rowlevel security Spring + Hibernate + Jboss

    Hey guys,

    I came up with a question that I can't seem to find on the internet.
    I'm developping a program in spring that uses 1 database for all the users.

    Atm I'm trying to seperate data from different users on a way that I don't need to pay attention to it on DAO level..
    Basicly, every query that i run on dao level needs to have to apply automatically some filter like " where user.userId == books.ownerId".

    I saw some Hibernate filter examples which isn't an option cause the hibernatemappings and pojo are created by an external program which doesn't allow us to add any filtering options in that way.

    Does anyone know a way of doing this on the most effecient manner?

    Thanks alot,

    Greetz YcKe

  2. #2
    Join Date
    Nov 2011
    Posts
    6

    Default

    Isn't there anyone who ever came accross this problem?

    greetz YcKe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •