How to configure Helidon MP security

1k views Asked by At

I've been learning Helidon MP features from github as it is one of the most reliable sources due to the weak community of framework. However, the configurations and instructions represented for security is a bit difficult to get. The examples work fine for demo applications where usernames, passwords, roles and realms are hardcoded into application.yaml file but as the users are always stored in database, sometimes even roles are read from database wrapped in a Role object. I'm sure that there exists a more dynamic configuration to Helidon security; for instance, I read about implementing AuthenticationProvider and AuthorizationProvider and adding providers to Security object but how is that object registered in the application? Any links or code samples would be very useful. thanks

1

There are 1 answers

0
Laird Nelson On