I have a GeoServer with a JDBC connection to PostgreSQL. In my database records are associated to a company. I would like to show layers (WMS) with only the features that belong to the user. The user is authenticated and his/her token contains claims about the company.
How to do this, in a secure manner?