public class ImpersonationCredentials extends java.lang.Object implements Credentials
Credentials
interface used to distinguish
a regular login request from 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
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
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 - 2020 Adobe. All Rights Reserved