Class MockedUserInfo
java.lang.Object
com.sap.cds.services.impl.runtime.mockusers.MockedUserInfo
- All Implemented Interfaces:
UserInfo
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
isSystemUserin interfaceUserInfo
-
isInternalUser
public boolean isInternalUser()- Specified by:
isInternalUserin interfaceUserInfo
-
isAuthenticated
public boolean isAuthenticated()- Specified by:
isAuthenticatedin interfaceUserInfo
-
isPrivileged
public boolean isPrivileged()- Specified by:
isPrivilegedin interfaceUserInfo
-
getAttributes
- Specified by:
getAttributesin interfaceUserInfo
-
getUnrestrictedAttributes
Deprecated.- Specified by:
getUnrestrictedAttributesin interfaceUserInfo
-
getAdditionalAttributes
- Specified by:
getAdditionalAttributesin interfaceUserInfo
-
as
-
toString
-