AbstractApplicationBase Class
- java.
lang. Object - com.
microsoft. aad. msal4j. AbstractApplicationBase
- com.
Implements
public abstract class AbstractApplicationBase
implements com.microsoft.aad.msal4j.IApplicationBase
Abstract class containing common methods and properties for PublicClientApplication, ConfidentialClientApplication, and ManagedIdentityApplication
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| protected com.microsoft.aad.msal4j.Authority | authenticationAuthority |
| protected org.slf4j.Logger | log |
|
protected
Token |
tokenCache |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.Integer | connectTimeoutForDefaultHttpClient() |
| java.lang.String |
correlationId()
Gets the correlation ID used for tracing requests through the authentication system. |
|
IHttp |
httpClient()
Gets the HTTP client used by the application for all HTTP requests. |
| boolean |
logPii()
Gets whether personally identifiable information (PII) is included in log messages. |
| java.net.Proxy |
proxy()
Gets the proxy configuration used by the application for network communication. |
| java.lang.Integer | readTimeoutForDefaultHttpClient() |
| javax.net.ssl.SSLSocketFactory |
sslSocketFactory()
Gets the SSL socket factory used by the application for secure network communication. |
Methods inherited from java.lang.Object
Field Details
authenticationAuthority
protected Authority authenticationAuthority
log
protected Logger log
tokenCache
protected TokenCache tokenCache
Method Details
connectTimeoutForDefaultHttpClient
public Integer connectTimeoutForDefaultHttpClient()
correlationId
public String correlationId()
Gets the correlation ID used for tracing requests through the authentication system.
httpClient
public IHttpClient httpClient()
Gets the HTTP client used by the application for all HTTP requests.
logPii
public boolean logPii()
Gets whether personally identifiable information (PII) is included in log messages.
proxy
public Proxy proxy()
Gets the proxy configuration used by the application for network communication.
readTimeoutForDefaultHttpClient
public Integer readTimeoutForDefaultHttpClient()
sslSocketFactory
public SSLSocketFactory sslSocketFactory()
Gets the SSL socket factory used by the application for secure network communication.