Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Issue/14 #16

Open
wants to merge 1 commit into
base: experimental
Choose a base branch
from
Open

Issue/14 #16

wants to merge 1 commit into from

Conversation

PAException
Copy link

@PAException PAException commented May 10, 2020

The abstract class has to be implemented by any class and registers the AuthenticationInterceptors.

If you register a AuthenticationServiceTokenInterceptor X-ServiceToken is checked on every route.s
You can add @IgnoreServiceToken to a method, to avoid validating X-ServiceToken.

If you register a AuthenticationScopeInterceptor you can annotate routes/mehtods with @ Authentication and they will be checked if the JWT is valid and if the user has the specific scope.
You can use many of those annotations, every of them with the full scope.

Closes #14

@PAException PAException added the feature New feature or request label May 10, 2020
@PAException PAException requested a review from steve-hb May 10, 2020 20:20
@PAException PAException linked an issue May 10, 2020 that may be closed by this pull request
@PAException PAException force-pushed the issue/14 branch 4 times, most recently from d913fc8 to 0383f4b Compare May 11, 2020 10:50
@PAException PAException changed the title WIP Issue/14 Issue/14 May 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spring-Auth support
1 participant