views:

78

answers:

0

Hi All,

I am totally new to UI programming. I am designing a JSF web application and planning to use JAAS also. I am interested in knowing if there is a way to give on the fly UI for different roles based on the capabilities/permissions a particular Role has. From a brief look my understanding is that JAAS will throw exception if the permission is not there for a particular method. But I want to give user interface with which he can only do what his permissions allow. Is it possible with the JAAS ? . Are there any best practices?

Thanks Jose