Class SecureSessionAgent (1.38.0)

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

publicstaticSecureSessionAgentcreate()
Returns
Type Description
SecureSessionAgent

default instance of SecureSessionAgent

newBuilder()

publicstaticSecureSessionAgent.BuildernewBuilder()
Returns
Type Description
SecureSessionAgent.Builder

Methods

getConfig()

publicSecureSessionAgentConfiggetConfig()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.