AbstractApplicationBase Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.AbstractApplicationBase

Implements

com.microsoft.aad.msal4j.IApplicationBase

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 TokenCache 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.

IHttpClient 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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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.

Applies to