1

I have the a spring boot method app, and one method has the following singature:

@GetMapping("{accountId}/component/{id}")
public Component getComponent(@PathVariable("accountId") String accountId, @PathVariable("id") String id, Authentication auth) throws Exception {
    //
}

I understand all parameters except the last parameter : Authentication auth. Where/how does it get passed into the method?

Sotirios Delimanolis
  • 274,122
  • 60
  • 696
  • 724
laconicdev
  • 6,360
  • 11
  • 63
  • 89

0 Answers0