Class DemoController
- java.lang.Object
-
- no.nav.security.token.support.demo.spring.rest.DemoController
-
@RestController public class DemoController extends Object
-
-
Constructor Summary
Constructors Constructor Description DemoController(DemoClient1 demoClient1, DemoClient2 demoClient2, DemoClient3 demoClient3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringpingExchange()StringpingWithClientCredentials()StringpingWithOnBehalfOf()StringprotectedPath()StringunprotectedPath()
-
-
-
Constructor Detail
-
DemoController
public DemoController(DemoClient1 demoClient1, DemoClient2 demoClient2, DemoClient3 demoClient3)
-
-
Method Detail
-
protectedPath
@GetMapping("/protected") public String protectedPath()
-
unprotectedPath
@GetMapping("/unprotected") public String unprotectedPath()
-
pingWithClientCredentials
@GetMapping("/unprotected/client_credentials") public String pingWithClientCredentials()
-
pingWithOnBehalfOf
@GetMapping("/protected/on_behalf_of") public String pingWithOnBehalfOf()
-
pingExchange
@GetMapping("/protected/exchange") public String pingExchange()
-
-