Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for JWTServer (0.35 sec)

  1. samples/jwt-server/src/main.go

    	}
    }
    
    func (s *JWTServer) runHTTP(httpAddr string) {
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go s.startHTTP(httpAddr, &wg)
    	wg.Wait()
    }
    
    func (s *JWTServer) runHTTPS(httpsAddr string) {
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go s.startHTTPS(httpsAddr, &wg)
    	wg.Wait()
    }
    
    func (s *JWTServer) stop() {
    	s.httpServer.Close()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 16 23:56:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. tests/integration/security/remote_jwks/main_test.go

    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    var (
    	ist       istio.Instance
    	apps      deployment.SingleNamespaceView
    	jwtServer jwt.Server
    	echoNS    namespace.Instance
    	systemNs  namespace.Instance
    )
    
    // remote_jwks is to test fully delegating Envoy to fetch JWKs server (PILOT_JWT_ENABLE_REMOTE_JWKS: envoy).
    func TestMain(m *testing.M) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 01:47:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tests/integration/security/main_test.go

    	externalNS namespace.Instance
    	serverNS   namespace.Instance
    
    	// Servers
    	apps             deployment.TwoNamespaceView
    	authzServer      authz.Server
    	localAuthzServer authz.Server
    	jwtServer        jwt.Server
    
    	i istio.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Setup(istio.Setup(&i, func(c resource.Context, cfg *istio.Config) {
    			cfg.ControlPlaneValues = `
    values:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. tests/integration/security/policy_attachment_only/main_test.go

    var (
    	// Namespaces
    	echo1NS  namespace.Instance
    	serverNS namespace.Instance
    
    	// Servers
    	apps             deployment.SingleNamespaceView
    	authzServer      authz.Server
    	localAuthzServer authz.Server
    	jwtServer        jwt.Server
    
    	i istio.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&i, func(c resource.Context, cfg *istio.Config) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 01:47:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. tests/integration/security/https_jwt/main_test.go

    	"istio.io/istio/pkg/test/util/tmpl"
    	"istio.io/istio/tests/integration/security/util/cert"
    )
    
    var (
    	ist       istio.Instance
    	apps      deployment.SingleNamespaceView
    	jwtServer jwt.Server
    	echoNS    namespace.Instance
    	systemNs  namespace.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&ist, setupConfig)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 09:55:58 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. tests/integration/security/testdata/requestauthn/remote.yaml.tmpl

    kind: RequestAuthentication
    metadata:
      name: {{ .To.ServiceName }}
    spec:
      selector:
        matchLabels:
          app: {{ .To.ServiceName }}
      jwtRules:
      - issuer: "******@****.***"
        jwksUri: "{{ .JWTServer.JwksURI }}"
        outputPayloadToHeader: "x-test-payload"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 338 bytes
    - Viewed (0)
  7. tests/integration/security/testdata/requestauthn/timeout.yaml.tmpl

    kind: RequestAuthentication
    metadata:
      name: {{ .To.ServiceName }}
    spec:
      selector:
        matchLabels:
          app: {{ .To.ServiceName }}
      jwtRules:
      - issuer: "******@****.***"
        jwksUri: "{{ .JWTServer.JwksURI }}?delay=500ms"
        outputPayloadToHeader: "x-test-payload"
        forwardOriginalToken: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 23:24:31 UTC 2024
    - 370 bytes
    - Viewed (0)
  8. tests/integration/security/jwt_test.go

    				return func(t framework.TestContext) {
    					if len(policy) > 0 {
    						// Apply the policy for all targets.
    						config.New(t).
    							Source(config.File(policy).WithParams(param.Params{
    								"JWTServer": jwtServer,
    							})).
    							BuildAll(nil, apps.Ns1.All).
    							Apply()
    					}
    
    					newTrafficTest(t, apps.Ns1.All.Instances()).Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top