net.sf.oness.common.model.security
Class SecurityHelper

java.lang.Object
  extended bynet.sf.oness.common.model.security.SecurityHelper

public class SecurityHelper
extends java.lang.Object

Class that encapsulates security code

Version:
$Revision: 1.3 $
Author:
Carlos Sanchez

Constructor Summary
SecurityHelper()
           
 
Method Summary
static java.lang.String getUserName()
          Get the userName of the current user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityHelper

public SecurityHelper()
Method Detail

getUserName

public static java.lang.String getUserName()
Get the userName of the current user

Returns:
the userName or null if it hasn't been authenticated


Copyright © 2003-2005 ONess Project. All Rights Reserved.