Class User

java.lang.Object
org.citrusframework.http.security.User

public class User extends Object
User model object for easy instantiation in Spring application context.
Since:
1.3
Author:
Christoph Deppisch
  • Constructor Details

    • User

      public User()
      Default constructor.
    • User

      public User(String name, String password, String[] roles)
      Default constructor using fields.
      Parameters:
      name -
      password -
      roles -
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      the name the name to get.
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the name to set
    • getPassword

      public String getPassword()
      Gets the password.
      Returns:
      the password the password to get.
    • setPassword

      public void setPassword(String password)
      Sets the password.
      Parameters:
      password - the password to set
    • getRoles

      public String[] getRoles()
      Gets the roles.
      Returns:
      the roles the roles to get.
    • setRoles

      public void setRoles(String[] roles)
      Sets the roles.
      Parameters:
      roles - the roles to set