Package com.enonic.xp.security

## Class Role

- java.lang.Object
- - com.enonic.xp.security.Principal
  - - com.enonic.xp.security.Role

- All Implemented Interfaces:
    `Principal`

      @PublicApi
      public final class Role
      extends Principal

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `Role.Builder` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Role.Builder` | `create()` |
    `static Role.Builder` | `create​(Role role)` |

    - ### Methods inherited from class com.enonic.xp.security.Principal

      `equals, getDescription, getDisplayName, getKey, getModifiedTime, getName, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.security.Principal

      `implies`

- - ### Method Detail

    - #### create

          public static Role.Builder create()

    - #### create

          public static Role.Builder create​(Role role)