All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.AuthenticationPolicy.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version






AuthenticationPolicy (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class AuthenticationPolicy

    • Constructor Detail

      • AuthenticationPolicy

        public AuthenticationPolicy()
    • Method Detail

      • getOrigins

        public List<OriginAuthenticationMethod> getOrigins()
        List of authentication methods that can be used for origin authentication. Similar to peers, these will be evaluated in order the first valid one will be used to set origin identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if origin authentication is not required.
        Returns:
        value or null for none
      • setOrigins

        public AuthenticationPolicy setOrigins(List<OriginAuthenticationMethod> origins)
        List of authentication methods that can be used for origin authentication. Similar to peers, these will be evaluated in order the first valid one will be used to set origin identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if origin authentication is not required.
        Parameters:
        origins - origins or null for none
      • getPeers

        public List<PeerAuthenticationMethod> getPeers()
        List of authentication methods that can be used for peer authentication. They will be evaluated in order the first valid one will be used to set peer identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if peer authentication is not required.
        Returns:
        value or null for none
      • setPeers

        public AuthenticationPolicy setPeers(List<PeerAuthenticationMethod> peers)
        List of authentication methods that can be used for peer authentication. They will be evaluated in order the first valid one will be used to set peer identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if peer authentication is not required.
        Parameters:
        peers - peers or null for none
      • getPrincipalBinding

        public String getPrincipalBinding()
        Define whether peer or origin identity should be used for principal. Default value is USE_PEER. If peer (or origin) identity is not available, either because peer/origin authentication is not defined, or failed, principal will be left unset. In other words, binding rule does not affect the decision to accept or reject request. This field can be set to one of the following: USE_PEER: Principal will be set to the identity from peer authentication. USE_ORIGIN: Principal will be set to the identity from origin authentication.
        Returns:
        value or null for none
      • setPrincipalBinding

        public AuthenticationPolicy setPrincipalBinding(String principalBinding)
        Define whether peer or origin identity should be used for principal. Default value is USE_PEER. If peer (or origin) identity is not available, either because peer/origin authentication is not defined, or failed, principal will be left unset. In other words, binding rule does not affect the decision to accept or reject request. This field can be set to one of the following: USE_PEER: Principal will be set to the identity from peer authentication. USE_ORIGIN: Principal will be set to the identity from origin authentication.
        Parameters:
        principalBinding - principalBinding or null for none
      • getServerTlsContext

        public TlsContext getServerTlsContext()
        Configures the mechanism to obtain server-side security certificates and identity information.
        Returns:
        value or null for none
      • setServerTlsContext

        public AuthenticationPolicy setServerTlsContext(TlsContext serverTlsContext)
        Configures the mechanism to obtain server-side security certificates and identity information.
        Parameters:
        serverTlsContext - serverTlsContext or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy