Interface UserContext

All Superinterfaces:
Cloneable, org.apache.ignite.internal.network.NetworkMessage

public interface UserContext extends org.apache.ignite.internal.network.NetworkMessage
User context that is used to authenticate a user on a remote node.
  • Field Summary

    Fields inherited from interface org.apache.ignite.internal.network.NetworkMessage

    NULL_GROUP_TYPE
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the roles of the user.
    Returns the username of the user.

    Methods inherited from interface org.apache.ignite.internal.network.NetworkMessage

    clone, groupType, messageType, needAck, prepareMarshal, serializer, toStringForLightLogging, unmarshal
  • Method Details

    • username

      String username()
      Returns the username of the user.
      Returns:
      The username of the user.
    • roles

      Set<String> roles()
      Returns the roles of the user.
      Returns:
      The roles of the user.