public class MsalClientAdapter extends HttpSenderBase implements com.microsoft.aad.msal4j.IHttpClient
ExchangeFileSystem
HttpSenderBase.HttpMethod
CORRELATION_ID_HEADER, headerParamsSet, MESSAGE_ID_HEADER, parametersToSkipWhenEmptySet, requestOrBodyParamsSet, staticUri, urlParameter
parameterNamesMustBeUnique, paramList
log
Constructor and Description |
---|
MsalClientAdapter() |
Modifier and Type | Method and Description |
---|---|
protected Message |
extractResult(HttpResponseHandler responseHandler,
PipeLineSession session)
Custom implementation to extract the response and format it to a String result.
|
protected org.apache.http.client.methods.HttpRequestBase |
getMethod(URI uri,
Message message,
ParameterValueList parameters,
PipeLineSession session)
Custom implementation to create a
HttpRequest object. |
com.microsoft.aad.msal4j.IHttpResponse |
send(com.microsoft.aad.msal4j.HttpRequest httpRequest) |
appendParameters, areCookiesDisabled, close, configure, getPhysicalDestinationName, getSSLConnectionSocketFactory, getURI, open, prefillProxyAuthCache, sendMessage, setAllowSelfSignedCertificates, setAuthAlias, setAuthDomain, setAuthenticatedTokenRequest, setCertificate, setCertificateAuthAlias, setCertificatePassword, setCertificateType, setCharSet, setClientAlias, setClientId, setClientSecret, setConnectionIdleTimeout, setConnectionTimeToLive, setContentType, setDisableCookies, setFollowRedirects, setHeadersParams, setIgnoreCertificateExpiredException, setIgnoreRedirects, setKeyManagerAlgorithm, setKeystore, setKeystoreAlias, setKeystoreAliasAuthAlias, setKeystoreAliasPassword, setKeystoreAuthAlias, setKeystorePassword, setKeystoreType, setMaxConnections, setMaxExecuteRetries, setMethodType, setParametersToSkipWhenEmpty, setPassword, setProtocol, setProxyAuthAlias, setProxyHost, setProxyPassword, setProxyPort, setProxyRealm, setProxyUsername, setProxyUserName, setResultStatusCodeSessionKey, setScope, setStaleChecking, setStaleTimeout, setStyleSheetName, setTimeout, setTokenEndpoint, setTokenExpiry, setTrustManagerAlgorithm, setTruststore, setTruststoreAuthAlias, setTruststorePassword, setTruststoreType, setUrl, setUrlParam, setUsername, setUserName, setVerifyHostname, setXhtml, validateResponseCode
addParameter, checkStringAttributeOrParameter, consumesSessionVariable, getParameterList, getParameterOverriddenAttributeValue, getParameterOverriddenAttributeValue, getParameterValueList
createBean, getLogPrefix, getName, isSynchronous, setApplicationContext, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDomain
getKeyManagerAlgorithm, getKeystore, getKeystoreAlias, getKeystoreAliasAuthAlias, getKeystoreAliasPassword, getKeystoreAuthAlias, getKeystorePassword, getKeystoreType
getApplicationContext, getName
getConfigurationClassLoader
setApplicationContext
getTrustManagerAlgorithm, getTruststore, getTruststoreAuthAlias, getTruststorePassword, getTruststoreType, isAllowSelfSignedCertificates, isIgnoreCertificateExpiredException, isVerifyHostname
isSynchronous, sendMessageOrThrow
getName, setName
public com.microsoft.aad.msal4j.IHttpResponse send(com.microsoft.aad.msal4j.HttpRequest httpRequest) throws Exception
send
in interface com.microsoft.aad.msal4j.IHttpClient
Exception
protected org.apache.http.client.methods.HttpRequestBase getMethod(URI uri, Message message, ParameterValueList parameters, PipeLineSession session) throws SenderException
HttpSenderBase
HttpRequest
object.getMethod
in class HttpSenderBase
uri
- endpoint to send the message tomessage
- to be sentparameters
- ParameterValueList that contains all the senders parameterssession
- PipeLineSession to retrieve or store data from, or NULL when not setHttpRequest
objectSenderException
protected Message extractResult(HttpResponseHandler responseHandler, PipeLineSession session) throws SenderException, IOException
HttpSenderBase
response
will be read or will be closed
.extractResult
in class HttpSenderBase
responseHandler
- HttpResponseHandler
that contains the response informationsession
- PipeLineSession
which may be nullSenderException
IOException
Copyright © 2023 Frank!Framework. All rights reserved.