FileDocCategorySizeDatePackage
UserBean.javaAPI DocExample400Thu Jul 07 09:57:22 BST 2005com.oreilly.jbossnotebook.todo.servlet

UserBean

public class UserBean extends Object

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetName()

        return user();
    
public static java.lang.Stringuser()

        Principal p = SecurityAssociation.getPrincipal();
        
        return (p == null) ? "anonymous" : p.getName();