public class ImpersonationCredentials
extends java.lang.Object
Credentials
interface used to distinguish
a regular login request from javax.jcr.Session#impersonate(javax.jcr.Credentials)
.Constructor and Description |
---|
ImpersonationCredentials(Credentials baseCredentials,
AuthInfo authInfo) |
Modifier and Type | Method and Description |
---|---|
Credentials |
getBaseCredentials()
Returns the
Credentials originally passed to
javax.jcr.Session#impersonate(javax.jcr.Credentials) . |
AuthInfo |
getImpersonatorInfo()
Returns the
AuthInfo present with the editing session that want
to impersonate. |
public ImpersonationCredentials(Credentials baseCredentials, AuthInfo authInfo)
public Credentials getBaseCredentials()
Credentials
originally passed to
javax.jcr.Session#impersonate(javax.jcr.Credentials)
.Credentials
originally passed to
javax.jcr.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 - 2020 Adobe Systems Incorporated. All Rights Reserved"