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
IOException
public void replaceUserOnSession(String targetName, UserSession session)
targetName
- target user namesession
- user sessionCopyright © 1970 The Apache Software Foundation. All rights reserved.