public interface ITenantedPrincipleNameResolver
Modifier and Type | Method and Description |
---|---|
String |
getPrincipleId(ITenant tenant,
String principalName)
Constructs a principle ID from tenant and principle name.
|
String |
getPrincipleName(String principleId)
Extracts the principle name from the principleId.
|
ITenant |
getTenant(String principleId)
Extracts the tenant from the principleId.
|
boolean |
isValid(String principleId)
Returns flag indicating that principleId is a valid tenanted string.
|
ITenant getTenant(String principleId)
principleId
- Principle ID.String getPrincipleName(String principleId)
principleId
- Principle ID.String getPrincipleId(ITenant tenant, String principalName)
tenant
- Tenant to be used for ID construction.principalName
- Name of the principle.boolean isValid(String principleId)
principleId
- ID of the principle.Copyright © 2020 Hitachi Vantara. All rights reserved.