Class ConsoleRole

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

public class ConsoleRole extends Object implements Principal
A Principal representing a role used by web console components.

Console roles 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

    • ConsoleRole

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

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