Class AuthenticatedUser
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.server.auth.AuthenticatedUser
-
public class AuthenticatedUser extends Object
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
Fields Modifier and Type Field Description static AuthenticatedUser
ANONYMOUS_USER
static String
ANONYMOUS_USERNAME
-
Constructor Summary
Constructors Constructor Description AuthenticatedUser(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
int
hashCode()
boolean
isAnonymous()
IfAuthenticator
doesn't require authentication, this method may return true.String
toString()
-
-
-
Field Detail
-
ANONYMOUS_USERNAME
public static final String ANONYMOUS_USERNAME
- See Also:
- Constant Field Values
-
ANONYMOUS_USER
public static final AuthenticatedUser ANONYMOUS_USER
-
-
Constructor Detail
-
AuthenticatedUser
public AuthenticatedUser(String name)
-
-
Method Detail
-
getName
public String getName()
-
isAnonymous
public boolean isAnonymous()
IfAuthenticator
doesn't require authentication, this method may return true.
-
-