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
  • 263,859
  • 56
  • 671
  • 702
laconicdev
  • 6,200
  • 11
  • 62
  • 89

0 Answers0