| Constructor and Description |
|---|
MockedUserInfo(CdsProperties.Security.Mock.User mockedUser) |
| Modifier and Type | Method and Description |
|---|---|
<T extends UserInfo> |
as(Class<T> userInfoClazz) |
Map<String,Object> |
getAdditionalAttributes() |
Map<String,List<String>> |
getAttributes() |
String |
getId() |
String |
getName() |
Set<String> |
getRoles() |
String |
getTenant() |
Set<String> |
getUnrestrictedAttributes() |
boolean |
isAuthenticated() |
boolean |
isInternalUser() |
boolean |
isPrivileged() |
boolean |
isSystemUser() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, create, getAdditionalAttribute, getAttribute, getAttributeValues, hasRole, isUnrestrictedAttributepublic MockedUserInfo(CdsProperties.Security.Mock.User mockedUser)
public boolean isSystemUser()
isSystemUser in interface UserInfopublic boolean isInternalUser()
isInternalUser in interface UserInfopublic boolean isAuthenticated()
isAuthenticated in interface UserInfopublic boolean isPrivileged()
isPrivileged in interface UserInfopublic Map<String,List<String>> getAttributes()
getAttributes in interface UserInfopublic Set<String> getUnrestrictedAttributes()
getUnrestrictedAttributes in interface UserInfopublic Map<String,Object> getAdditionalAttributes()
getAdditionalAttributes in interface UserInfoCopyright © 2022. All rights reserved.