jaas « Development « JSF Q&A





1. JSF tailoring webpage according to user permissions    stackoverflow.com

When a user logs into my website I want to display a div with a user menu, that contains his inbox, notifications, etc. Do I have to use JAAS with JSF ...

2. How can I hide some content based on user role in JSF?    stackoverflow.com

I'm using JAAS and have applied security on some folders for different roles. I want to hide some navigation for different users because, although the pages are not accessible, the user ...

3. Is "isUserInRole" method related to JAAS?    stackoverflow.com

I've configured JAAS in glassfish 3.0 and used JDBCRealm for authenticating users. It's working properly and URL(s) are restricted. But the method #{facesContext.externalContext.isUserInRole('admin')} always returns false, even when the logged in user ...

4. JSF 2.0 how to display element depending of the user right?    stackoverflow.com

I am writing an application using JSF 2.0, java ee and glassfish. My user interface is simple xhtml containing jsf. I want my user to login and depending their right have different element ...

5. JAAS & JSF    coderanch.com

Originally posted by Alessandro Allievi: Does anyone know if there's a way to integrate JAAS and JSF technology? I would to define some "roles" and then grant some action in the jsf bean according to the role definition. In a general view, I would to execute some piece of code asking to Subject if it is possible... Thanks in advance

6. Integrating JAAS with JSF    coderanch.com

7. JAAS with JSF    coderanch.com

8. JAAS - JSF 1.1 to JSF 1.2    coderanch.com

9. JAAS Implementation with JSF    forums.oracle.com

Hi, I am recently doing working with JAAS using JSF and server is JBOSS 4.0. I have made and application but some problem occur.. I made MainLogin.jsp that request username and password from user, it has backing file with name MainLogin.java in which method just like: public String checkValidUser(){ System.out.println("In Main Login Bean......................"); javaService=new JavaServiceFacade(); try{ ej = (Login)javaService.checkAuthenticatedUser(loginname,password); }catch(Exception e){ ...