public class ImpersonationADFSecurityContextCredentialProvider extends Object implements RidcCredentialProvider
Warning 2 - If the end-user is able to inject properties in to the DataBinder without sanitization, and sticky impersonation is active, a malicious end-user could supply the property "StickyImpersonation" with value "false" in a request, which would restore the connection back as the impersonator user.
Constructor and Description |
---|
ImpersonationADFSecurityContextCredentialProvider() |
Modifier and Type | Method and Description |
---|---|
IdcContext |
getCredential(RidcConnection connection,
boolean anonymousFallbackAllowed)
Get a suitable credential for the connected ADF session-scope party
to use for a session pool session
|
public ImpersonationADFSecurityContextCredentialProvider()
public IdcContext getCredential(RidcConnection connection, boolean anonymousFallbackAllowed)
RidcCredentialProvider
getCredential
in interface RidcCredentialProvider
connection
- the connection associated with the
credential requestanonymousFallbackAllowed
- whether if a suitable credential cannot
be identified to fallback to the
anonymous IdcContext credential