public class ImpersonationCredentials
extends java.lang.Object
implements javax.jcr.Credentials
Credentials interface used to distinguish
a regular login request from Session.impersonate(javax.jcr.Credentials).| Constructor and Description |
|---|
ImpersonationCredentials(javax.jcr.Credentials baseCredentials,
AuthInfo authInfo) |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Credentials |
getBaseCredentials()
Returns the
Credentials originally passed to
Session.impersonate(javax.jcr.Credentials). |
AuthInfo |
getImpersonatorInfo()
Returns the
AuthInfo present with the editing session that want
to impersonate. |
public ImpersonationCredentials(javax.jcr.Credentials baseCredentials,
AuthInfo authInfo)
public javax.jcr.Credentials getBaseCredentials()
Credentials originally passed to
Session.impersonate(javax.jcr.Credentials).Credentials originally passed to
Session.impersonate(javax.jcr.Credentials).public AuthInfo getImpersonatorInfo()
AuthInfo present with the editing session that want
to impersonate.AuthInfo present with the editing session that want
to impersonate.ContentSession.getAuthInfo()Copyright © 2010 - 2025 Adobe. All Rights Reserved