Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Access to pages depending on access level

 
Michal Glowacki
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I also need to create a system, which will allow to access selected pages depending on admin rights. It can be set in server properties, but I was thinking about more flexible solution. I have something in mind, but it looks to me little funny. I was thinking if there are any resources where I could see examples of such solutions. Maybe any desing pattern?

Thanks in advance,
Michal
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



and register this viewhandler :-

<faces-config>
<application>
<message-bundle>bundles.core</message-bundle>
<locale-config>
<default-locale>en</default-locale>
</locale-config>
<view-handler>
com.blahPackage.PermissionViewHandler
</view-handler>
</application>
</faces-config>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!