Freigeben über


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()
IHttpClient httpClient()

Sets HTTP client to be used by the client application for all HTTP requests.

boolean logPii()
java.net.Proxy proxy()
java.lang.Integer readTimeoutForDefaultHttpClient()
javax.net.ssl.SSLSocketFactory sslSocketFactory()

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()

httpClient

public IHttpClient httpClient()

Sets HTTP client to be used by the client application for all HTTP requests. Allows for fine-grained configuration of HTTP client.

logPii

public boolean logPii()

proxy

public Proxy proxy()

readTimeoutForDefaultHttpClient

public Integer readTimeoutForDefaultHttpClient()

sslSocketFactory

public SSLSocketFactory sslSocketFactory()

Applies to