Tim te Beek

Results 618 comments of Tim te Beek

Hi @landrzejewski ; I'm afraid I don't have any samples of role mapping in a gateway right now; Up to now I've only used `@AuthenticationPrincipal OidcUser user` as argument to...

Great to hear @landrzejewski ; Does that resolve your issue, or do you recon we'd best include this in the existing gateway sample? As @Robbert1 already indicated is isn't the...

Perfect; I'll leave the issue open so the information is easier to find. We can pick it up again once we see a more agreeable API emerge in Spring Security....

Hi Felix, thanks for the kind words! I've only ever applied the gateway as a client, not as a resource server. Not sure it'll work with the alternate method you've...

Hi Felix; Understand your use case, but it's not something I've tried myself so far. Not saying it's impossible, but it might be a challenge to figure out how the...

Hi @FelixSK ; Glad to hear you found and approach that works for you, and thanks for sharing that here as well. As for your resource server endpoint tests: there's...

Possible additional topics, not covered so far: - [ ] spring-security-acl database & voter - [ ] Creating and testing with custom security annotations - [ ] Multi tenancy with...

Hi @DivenYoung , this is not yet covered in the samples, and I've not looked at such a setup yet myself. Have you tried to implement anything like this already?...

Took a quick look at PathInput, as it seemed promissing, but it has some hardcoded assumptions about it's usage, with [existing directories an immediate error](https://github.com/spring-projects/spring-shell/blob/main/spring-shell-core/src/main/java/org/springframework/shell/component/PathInput.java#L145); ([reported here](https://github.com/spring-projects/spring-shell/issues/497)). Unless there's a...

Played around a bit with the value provider as well; it can be slightly improved by leaving out hidden directories ```diff diff --git a/applications/spring-shell/src/main/java/org/springframework/sbm/shell/ScanValueProvider.java b/applications/spring-shell/src/main/java/org/springframework/sbm/shell/ScanValueProvider.java index 52585d7..645bb0b 100644 --- a/applications/spring-shell/src/main/java/org/springframework/sbm/shell/ScanValueProvider.java...