RichFaces Examples Miscellanous 4.1.0.20111101-M4

org.richfaces.demo
Class UserBean

java.lang.Object
  extended by org.richfaces.demo.UserBean

public class UserBean
extends Object

Author:
Nick Belaevski

Constructor Summary
UserBean()
           
 
Method Summary
 Principal getPrincipal()
           
 String getRolename()
           
 boolean isUserInRole(String role)
           
 void setRolename(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBean

public UserBean()
Method Detail

getRolename

public String getRolename()

setRolename

public void setRolename(String username)

getPrincipal

public Principal getPrincipal()

isUserInRole

public boolean isUserInRole(String role)

RichFaces Examples Miscellanous 4.1.0.20111101-M4

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.