Class UserInfo
java.lang.Object
org.qubership.atp.auth.springbootstarter.entities.UserInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a new role to roles.Returns user full name.
-
Constructor Details
-
UserInfo
public UserInfo()
-
-
Method Details
-
getFullName
Returns user full name.- Returns:
String.
-
addRole
Add a new role to roles. If roles is empty, initialize it.- Parameters:
role- to add to roles.
-