@Deprecated
public class ImpersonationRequestUtil
extends java.lang.Object
Constructor and Description |
---|
ImpersonationRequestUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cookie |
createCookie(java.lang.String id,
java.lang.String sudo)
Deprecated.
with no replacement. To initiate impersonation send a request
with the sudo request parameter set to the target user
id.
|
boolean |
isImpersonated(HttpServletRequest request)
Deprecated.
check "impersonator" attribute of the session to see whether
the session is impersonated or not.
|
@Deprecated public boolean isImpersonated(HttpServletRequest request)
true
if the JCR Session underlying the current
request is impersonated. Otherwise false
is returned.
false
is als returned if the request is not a
SlingHttpServletRequest
or the request's resource resolver
is not based on a JCR session.@Deprecated public Cookie createCookie(java.lang.String id, java.lang.String sudo)
java.lang.UnsupportedOperationException
- because this is not implemented and
supported any longer."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"