Package org.jbpm.services.ejb.impl.identity

## Class EJBContextIdentityProvider

- java.lang.Object
- - org.jbpm.services.ejb.impl.identity.EJBContextIdentityProvider

- All Implemented Interfaces:
    `org.kie.internal.identity.IdentityProvider`

      public class EJBContextIdentityProvider
      extends Object
      implements org.kie.internal.identity.IdentityProvider

- - ### Field Summary

    - ### Fields inherited from interface org.kie.internal.identity.IdentityProvider

      `UNKNOWN_USER_IDENTITY`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `EJBContextIdentityProvider​(javax.ejb.EJBContext context)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getName()` |
    `List<String>` | `getRoles()` |
    `boolean` | `hasRole​(String role)` |

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.kie.internal.identity.IdentityProvider

      `getRolesFor, hasRoleFor, removeContextIdentity, setContextIdentity`

- - ### Constructor Detail

    - #### EJBContextIdentityProvider

          public EJBContextIdentityProvider​(javax.ejb.EJBContext context)

  - ### Method Detail

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `org.kie.internal.identity.IdentityProvider`

    - #### getRoles

          public List<String> getRoles()

      Specified by:
        `getRoles` in interface `org.kie.internal.identity.IdentityProvider`

    - #### hasRole

          public boolean hasRole​(String role)

      Specified by:
        `hasRole` in interface `org.kie.internal.identity.IdentityProvider`