Class SecureSessionAgent (1.30.0)

public class SecureSessionAgent

Utilities to fetch the S2A (Secure Session Agent) address from the mTLS configuration.

mTLS configuration is queried from the MDS MTLS Autoconfiguration endpoint. See https://google.aip.dev/auth/4115 for details.

This is an experimental utility.

Inheritance

java.lang.Object > SecureSessionAgent

Static Methods

create()

public static SecureSessionAgent create()
Returns
Type Description
SecureSessionAgent

default instance of SecureSessionAgent

newBuilder()

public static SecureSessionAgent.Builder newBuilder()
Returns
Type Description
SecureSessionAgent.Builder

Methods

getConfig()

public SecureSessionAgentConfig getConfig()

This method makes a network call to MDS to get the SecureSessionAgentConfig which contains the plaintext and mtls address to reach the S2A (Secure Session Agent).

Returns
Type Description
SecureSessionAgentConfig

a SecureSessionAgentConfig.