tapis-project / tapis-java

Texas Advanced Computing Center APIs
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

Prohibit user@site-admin JWT usage #79

Open richcar58 opened 2 years ago

richcar58 commented 2 years ago

We saw that SDSC ran jobs under user_1@ospdevadmin, a user in their site's administrative tenant. To prevent this from happening, we'll implement these changes in the Java security code:

When similar changes are made to the Python code, Tapis will prevent a user JWT in a site-admin tenant from being useful even if one is handcrafted.