This content has been marked as final.
Show 3 replies
-
1. Re: Wildfly security - module - permisssions
dmlloyd Nov 11, 2016 9:50 AM (in response to eshevchenko)If you have a method call from module or deployment A to module or deployment B, B will be restricted with the intersection of permissions from A and B for the duration of the call. If you want to only operate under the restrictions placed on B, you must use AccessController.doPrivileged().
-
2. Re: Wildfly security - module - permisssions
dmlloyd Nov 11, 2016 9:52 AM (in response to dmlloyd)1 of 1 people found this helpfulAlso, permission restrictions apply only to executable methods - not interface methods. So calling "through" an interface method does not add permission restrictions.
-
3. Re: Wildfly security - module - permisssions
eshevchenko Nov 11, 2016 4:52 PM (in response to dmlloyd)Thank you, David. I have used AccessController.doPrivileged(), but I have known nothing about calling through an interface(permission propogation). I will think, how to redesign my solution. Thank you one more time.