@Deprecated @Service(value=ImpersonationRequestUtil.class) public class ImpersonationRequestUtil extends java.lang.Object
| Constructor and Description |
|---|
ImpersonationRequestUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.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(javax.servlet.http.HttpServletRequest request)
Deprecated.
check "impersonator" attribute of the session to see whether
the session is impersonated or not.
|
@Deprecated public boolean isImpersonated(javax.servlet.http.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 javax.servlet.http.Cookie createCookie(java.lang.String id,
java.lang.String sudo)
java.lang.UnsupportedOperationException - because this is not implemented and
supported any longer.Copyright © 2010 - 2023 Adobe. All Rights Reserved