public interface PrincipalMapper
| Modifier and Type | Method and Description |
|---|---|
void |
loadMappingTable(String principalMapping,
String groupMapping)
Load the internal principal mapping table from the provided
string value which conforms to the following semicolon delimited format:
actual[,another-actual]=mapped;...
|
String[] |
mapGroupPrincipal(String principalName)
Acquire array of group principal names from the mapping table
as appropriate.
|
String |
mapUserPrincipal(String principalName)
Acquire a mapped principal name from the mapping table
as appropriate.
|
void loadMappingTable(String principalMapping, String groupMapping) throws PrincipalMappingException
principalMapping - semicolon delimited format of principal mappinggroupMapping - semicolon delimited format of principal mappingPrincipalMappingException - Exception if principal mapping cannot be loadedString mapUserPrincipal(String principalName)
principalName - principal name to look up in the mapping tableString[] mapGroupPrincipal(String principalName)
principalName - principal name to look up in the mapping tableCopyright © 2022 The Apache Software Foundation. All rights reserved.