istio: istio.io/istio/pilot/pkg/security/authn Index | Files | Directories

package authn

import "istio.io/istio/pilot/pkg/security/authn"

Index

Package Files

policy_applier.go

type PolicyApplier Uses

type PolicyApplier interface {
    // InboundFilterChain returns inbound filter chain(s) to enforce the underlying authentication policy.
    InboundFilterChain(sdsUdsPath string, meta *model.NodeMetadata) []plugin.FilterChain

    // AuthNFilter returns the JWT HTTP filter to enforce the underlying authentication policy.
    // It may return nil, if no JWT validation is needed.
    JwtFilter(isXDSMarshalingToAnyEnabled bool) *http_conn.HttpFilter

    // AuthNFilter returns the (authn) HTTP filter to enforce the underlying authentication policy.
    // It may return nil, if no authentication is needed.
    AuthNFilter(proxyType model.NodeType, isXDSMarshalingToAnyEnabled bool) *http_conn.HttpFilter
}

PolicyApplier is the interface provides essential functionalities to help config Envoy (xDS) to enforce authentication policy. Each version of authentication policy will implement this interface.

Directories

PathSynopsis
factory
v1alpha1

Package authn imports 3 packages (graph) and is imported by 2 packages. Updated 2019-10-17. Refresh now. Tools for package owners.