public class UserSpecificAuthorization extends TenantSpecificAuthorization
Authorization
implementation based on an user name, a tenant Id, and another Authorization
.Modifier and Type | Field and Description |
---|---|
protected String |
userName |
authorization, tenantId
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 |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getName() |
String |
getUserName() |
int |
hashCode() |
String |
toString() |
getAuthorization, getTenantId
protected final String userName
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
public boolean equals(Object o)
equals
in class TenantSpecificAuthorization
protected boolean canEqual(Object other)
canEqual
in class TenantSpecificAuthorization
public int hashCode()
hashCode
in class TenantSpecificAuthorization
public String getUserName()
public String toString()
toString
in class TenantSpecificAuthorization
Copyright © 2018 SAP SE. All rights reserved.