Package org.kie.internal.identity
Interface IdentityProvider
-
public interface IdentityProvider
-
-
Field Summary
Fields Modifier and Type Field Description static String
UNKNOWN_USER_IDENTITY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getName()
List<String>
getRoles()
default List<String>
getRolesFor(String userId)
default boolean
hasRole(String role)
default boolean
hasRoleFor(String userId, String role)
default void
removeContextIdentity()
default void
setContextIdentity(String userId)
-
-
-
Field Detail
-
UNKNOWN_USER_IDENTITY
static final String UNKNOWN_USER_IDENTITY
- See Also:
- Constant Field Values
-
-