org.equanda.client
Class LoginInfo

java.lang.Object
  extended by org.equanda.client.LoginInfo

public class LoginInfo
extends Object

Login information which is stored, being the equandaUser proxy (with interface to make it partially accessible), authorization and config info and optionally some extra (application dependent) information.

Author:
Joachim Van der Auwera

Constructor Summary
LoginInfo()
           
LoginInfo(EquandaUserInfo user)
           
LoginInfo(String userName, String password)
           
 
Method Summary
 AuthAndConfigProvider getAuthAndConfig()
           
 List<String> getAuthAndConfigRoles()
          Get the auth and config role names.
 Object getExtra()
           
 String getPassword()
           
 List<String> getRoles()
          Get the appserver role names.
 EquandaUserInfo getUser()
           
 String getUserName()
           
 boolean isGuiAccessProhibited()
           
 boolean isGuiAdministrator()
           
 void setAuthAndConfig(AuthAndConfigProvider authAndConfig)
           
 void setAuthAndConfigRoles(List<String> aacRoles)
          Set the auth and config role names.
 void setExtra(Object extra)
           
 void setGuiAccessProhibited(boolean guiAccessProhibited)
           
 void setGuiAdministrator(boolean guiAdministrator)
           
 void setPassword(String password)
           
 void setRoles(List<String> roles)
          Set the appserver role names.
 void setUser(EquandaUserInfo user)
           
 void setUserName(String userName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginInfo

public LoginInfo()

LoginInfo

public LoginInfo(String userName,
                 String password)

LoginInfo

public LoginInfo(EquandaUserInfo user)
Method Detail

getUserName

public String getUserName()

setUserName

public void setUserName(String userName)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getUser

public EquandaUserInfo getUser()

setUser

public void setUser(EquandaUserInfo user)

getExtra

public Object getExtra()

setExtra

public void setExtra(Object extra)

getAuthAndConfig

public AuthAndConfigProvider getAuthAndConfig()

setAuthAndConfig

public void setAuthAndConfig(AuthAndConfigProvider authAndConfig)

getRoles

public List<String> getRoles()
Get the appserver role names.

Returns:
list of appserver roles for user

setRoles

public void setRoles(List<String> roles)
Set the appserver role names.

Parameters:
roles - list of appserver role names.

getAuthAndConfigRoles

public List<String> getAuthAndConfigRoles()
Get the auth and config role names.

Returns:
list of appserver roles for user

setAuthAndConfigRoles

public void setAuthAndConfigRoles(List<String> aacRoles)
Set the auth and config role names.

Parameters:
aacRoles - list of appserver role names.

isGuiAdministrator

public boolean isGuiAdministrator()

setGuiAdministrator

public void setGuiAdministrator(boolean guiAdministrator)

isGuiAccessProhibited

public boolean isGuiAccessProhibited()

setGuiAccessProhibited

public void setGuiAccessProhibited(boolean guiAccessProhibited)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2009. All Rights Reserved.