Package org.kie.internal.identity

## Interface IdentityProvider

-     public interface IdentityProvider

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static java.lang.String` | `UNKNOWN_USER_IDENTITY` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getName()` |
    `java.util.List<java.lang.String>` | `getRoles()` |
    `boolean` | `hasRole​(java.lang.String role)` |
    `default void` | `removeContextIdentity()` |
    `default void` | `setContextIdentity​(java.lang.String userId)` |

- - ### Field Detail

    - #### UNKNOWN_USER_IDENTITY

          static final java.lang.String UNKNOWN_USER_IDENTITY

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getName

          java.lang.String getName()

    - #### getRoles

          java.util.List<java.lang.String> getRoles()

    - #### hasRole

          boolean hasRole​(java.lang.String role)

    - #### setContextIdentity

          default void setContextIdentity​(java.lang.String userId)

    - #### removeContextIdentity

          default void removeContextIdentity()