org.objectweb.telosys.auth
Class DefaultAppUser
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAppUser
public DefaultAppUser(java.lang.String sLogin)
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