org.objectweb.telosys.auth
Class DefaultAppUser

java.lang.Object
  extended byorg.objectweb.telosys.auth.DefaultAppUser
All Implemented Interfaces:
IAppUser, java.io.Serializable

public class DefaultAppUser
extends java.lang.Object
implements IAppUser

Default implementation for IAppUser interface

See Also:
Serialized Form

Constructor Summary
DefaultAppUser(java.lang.String sLogin)
           
 
Method Summary
 java.lang.String getFirstPage()
           
 java.lang.String getLanguage()
           
 java.lang.String getLogin()
           
 java.lang.String getRole()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAppUser

public DefaultAppUser(java.lang.String sLogin)
Method Detail

getLogin

public java.lang.String getLogin()

getFirstPage

public java.lang.String getFirstPage()
Specified by:
getFirstPage in interface IAppUser
Returns:
the first page (welcome page) for this user

getLanguage

public java.lang.String getLanguage()
Specified by:
getLanguage in interface IAppUser
Returns:
the user's language ( "en", "fr", ... )

getRole

public java.lang.String getRole()
Specified by:
getRole in interface IAppUser
Returns:
the user's role for the current application