Skip to content

Securing a custom "web.http" endpoint #4416

Answered by wolf4ood
3rim asked this question in Q&A
Discussion options

You must be logged in to vote

Nope it was introduced here

For that version you have wire it manually. If i remember correctly you just need to inject

@Inject
private AuthenticationService authenticationService;

and then register a resource

webService.registerResource("my-endpoint", new AuthenticationRequestFilter(authenticationService));

Replies: 4 comments 15 replies

Comment options

You must be logged in to vote
3 replies
@3rim
Comment options

@wolf4ood
Comment options

@3rim
Comment options

Comment options

You must be logged in to vote
10 replies
@3rim
Comment options

@3rim
Comment options

@wolf4ood
Comment options

@3rim
Comment options

@3rim
Comment options

Answer selected by 3rim
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@3rim
Comment options

@3rim
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants