@ThreadSafe public final class CurrentUser extends Object implements Principal
User
.Constructor and Description |
---|
CurrentUser(String name)
Constructs a new user with a name.
|
CurrentUser(String name,
String serviceName)
Constructs a new user with a name and a service name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
String |
getServiceName() |
int |
hashCode() |
String |
toString() |
Copyright © 2023. All Rights Reserved.