Class ConsoleUser

All Implemented Interfaces:

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.

      Note that name must be unique.

      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.
      name - the name
  • Method Details