public class User extends Object implements IClusterable
Constructor and Description |
---|
User(String uid,
String roles)
Construct.
|
public boolean hasRole(String role)
role
- public boolean hasAnyRole(Roles roles)
roles
- set of rolespublic String getUid()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.