Class MockedUserInfo
java.lang.Object
com.sap.cds.services.impl.runtime.mockusers.MockedUserInfo
- All Implemented Interfaces:
UserInfo
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sap.cds.services.request.UserInfo
copy, getAdditionalAttribute, getAttributeValues, hasRole, isUnrestrictedAttribute
-
Constructor Details
-
MockedUserInfo
-
-
Method Details
-
getId
-
getName
-
getTenant
-
getRoles
-
isSystemUser
public boolean isSystemUser()- Specified by:
isSystemUser
in interfaceUserInfo
-
isInternalUser
public boolean isInternalUser()- Specified by:
isInternalUser
in interfaceUserInfo
-
isAuthenticated
public boolean isAuthenticated()- Specified by:
isAuthenticated
in interfaceUserInfo
-
isPrivileged
public boolean isPrivileged()- Specified by:
isPrivileged
in interfaceUserInfo
-
getAttributes
- Specified by:
getAttributes
in interfaceUserInfo
-
getUnrestrictedAttributes
Deprecated.- Specified by:
getUnrestrictedAttributes
in interfaceUserInfo
-
getAdditionalAttributes
- Specified by:
getAdditionalAttributes
in interfaceUserInfo
-
as
-
toString
-