public class UserSpecificAuthorization extends TenantSpecificAuthorization
Authorization
implementation based on an user name, a tenant Id, and another Authorization
.Constructor and Description |
---|
UserSpecificAuthorization(String tenantId,
String userName,
Authorization authorization)
Creates a new authorization based on the tenant Id, the user name, and another
Authorization . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
String |
getUserName() |
int |
hashCode() |
String |
toString() |
getAuthorization, getTenantId
public UserSpecificAuthorization(String tenantId, String userName, Authorization authorization)
Authorization
.tenantId
- The tenant Id of this Authorization
.userName
- The user name of this Authorization
.authorization
- The next Authorization
.public String getName()
getName
in interface Authorization
getName
in class TenantSpecificAuthorization
@Generated(value="lombok") public boolean equals(Object o)
equals
in class TenantSpecificAuthorization
@Generated(value="lombok") public int hashCode()
hashCode
in class TenantSpecificAuthorization
@Generated(value="lombok") public String getUserName()
@Generated(value="lombok") public String toString()
toString
in class TenantSpecificAuthorization
Copyright © 2018 SAP SE. All rights reserved.