public class AuthenticatedUser extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static AuthenticatedUser | ANONYMOUS_USER | 
| static String | ANONYMOUS_USERNAME | 
| Constructor and Description | 
|---|
| AuthenticatedUser(String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| String | getName() | 
| int | hashCode() | 
| boolean | isAnonymous()If  Authenticatordoesn't require authentication, this method may return true. | 
| String | toString() | 
public static final String ANONYMOUS_USERNAME
public static final AuthenticatedUser ANONYMOUS_USER
public AuthenticatedUser(String name)
public String getName()
public boolean isAnonymous()
Authenticator doesn't require authentication, this method may return true.Copyright © 2013–2022 Apache Software Foundation. All rights reserved.