Example usage for org.springframework.boot.actuate.autoconfigure.cloudfoundry.reactive ReactiveTokenValidator ReactiveTokenValidator

List of usage examples for org.springframework.boot.actuate.autoconfigure.cloudfoundry.reactive ReactiveTokenValidator ReactiveTokenValidator

Introduction

In this page you can find the example usage for org.springframework.boot.actuate.autoconfigure.cloudfoundry.reactive ReactiveTokenValidator ReactiveTokenValidator.

Prototype

ReactiveTokenValidator(ReactiveCloudFoundrySecurityService securityService) 

Source Link

Usage

From source file:org.springframework.boot.actuate.autoconfigure.cloudfoundry.reactive.ReactiveTokenValidatorTests.java

@Before
public void setup() {
    MockitoAnnotations.initMocks(this);
    VALID_KEYS.put("valid-key", VALID_KEY);
    INVALID_KEYS.put("invalid-key", INVALID_KEY);
    this.tokenValidator = new ReactiveTokenValidator(this.securityService);
}