Package uk.gov.gchq.gaffer.user
Class User
- java.lang.Object
-
- uk.gov.gchq.gaffer.user.User
-
- All Implemented Interfaces:
Serializable
public class User extends Object implements Serializable
Simple representation of a user in Gaffer. Users execute operations on the graph, which passes this User object to the underlying store. The store then uses the values of the dataAuths and opAuths objects associated with the user to determine if they are allowed to perform the operation or not.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
User.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
UNKNOWN_USER_ID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Set<String>
getDataAuths()
Set<String>
getOpAuths()
String
getUserId()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
UNKNOWN_USER_ID
public static final String UNKNOWN_USER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUserId
public String getUserId()
-
-