I am trying to create a @RolesAllowed
tag on my rest endpoints. I have used this example to create a custom authentication point but now need to extend this to allow for the @RolesAllowed
tag to be used on token based authentication.
I have tried using PicketLink but couldn't get it to play nicely with my app and found that I can use my own custom strategies to tailor the situation to my application.