Class ConsoleUser

java.lang.Object
org.jgrapes.webconsole.base.ConsoleUser
All Implemented Interfaces:
Principal

public class ConsoleUser extends Object implements Principal
A Principal representing an identity used by web console components.

Console users are usually not managed. Rather, the information is derived from some authentication system and provided to console components in a way that is independent from a particular authentication strategy.

  • Constructor Details

    • ConsoleUser

      public ConsoleUser(String name, String displayName)
      Instantiates a new console user.
      Parameters:
      name - the name
      displayName - the display name
    • ConsoleUser

      public ConsoleUser(String name)
      Instantiates a new console user with the name also being used as display name.
      Parameters:
      name - the name
  • Method Details