Following some advice, i decided to write my own authorization filter for my web app(I am not using container managed security so i have to do it this way).
This is my ...
I learnt how to use container authentication with JDBC realm.
I searched a lot on internet but I couldn't find anything on JSF authorization except the following article.
JSF authorization
My goal ...
hi all, i am trying to use a phase listener for authorization in my jsf web application. the phase listener works fine that he redirect to the login page if the user visit a protected side or let the user go for a public side. but that's all, he just redirect or not. my actual problem is that i don't know ...
Hi, What's the best way to manage authorization in a custom jaas environment? When I log the user, I put info about him in the sessionScope. What I'm doing now (And I know it's a terrible thing to do) is to perform authorization validation in the constructor of the bean, so when someone tries to go to some page, the constructor ...
Hi, I'm want to access the components of a requested view and to alter the "rendered" attribute based on authorization rules. Using a Phase Listener I got the components, but only after render response phase, where alterations don't make any effect because the outputStream has already been generated. This "rendered" attribute need to be set before the render phase. Is this ...