Class LoginModel

java.lang.Object
fr.gouv.vitam.ihmdemo.appserver.LoginModel

public class LoginModel extends Object
Login Model class
  • Constructor Details

    • LoginModel

      public LoginModel(String userName, List<String> permissions, long sessionTimeout, String tokenCSRF)
      Constructor
      Parameters:
      userName - the user name
      permissions - list of permissions
      sessionTimeout - the session timeout as a long
      tokenCSRF - the csrf token
  • Method Details

    • getUserName

      public String getUserName()
      Returns:
      userName
    • getPermissions

      public List<String> getPermissions()
      Returns:
      permissions
    • getSessionTimeout

      public long getSessionTimeout()
      Returns:
      sessionTimeout
    • getTokenCSRF

      public String getTokenCSRF()
      Returns:
      tokenCSRF