Interface RoleContract

All Superinterfaces:
GloballyUnique, Identifiable, Inactivatable, Versioned
All Known Implementing Classes:
Role, Role.Builder

public interface RoleContract extends Versioned, Identifiable, Inactivatable, GloballyUnique
Contract for a Role. Role is a basic abstraction over a role assignable to a principal within KIM.
  • Method Details

    • getNamespaceCode

      String getNamespaceCode()
      A namespace for this role. A namespace for a role identifies the system/module to which this role applies.
      Returns:
      Namespace for the role.
    • getName

      String getName()
      The human readable name for this role.
      Returns:
      Human readable role name.
    • getDescription

      String getDescription()
      A full textual description of this role. This String should provide a verbose description of the role, what it is meant to provide to principals assigned to it, and what permissions it implies.
      Returns:
      Description of the role.
    • getKimTypeId

      String getKimTypeId()
      Provides the associated KimType identifier for this role. This controls what additional attributes are available.
      Returns:
      KimType Id