public class InboundImpersonationManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InboundImpersonationManager.InboundImpersonationPolicyValidator
Validator for impersonation policies.
|
| Constructor and Description |
|---|
InboundImpersonationManager() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasImpersonationPrivileges(String proxyName,
String targetName,
String policiesString) |
void |
replaceUserOnSession(String targetName,
UserSession session)
Check if the current session user, as a proxy user, is authorized to impersonate the given target user
based on the system's impersonation policies.
|
public static boolean hasImpersonationPrivileges(String proxyName, String targetName, String policiesString) throws IOException
IOExceptionpublic void replaceUserOnSession(String targetName, UserSession session)
targetName - target user namesession - user sessionCopyright © 2021 The Apache Software Foundation. All rights reserved.