The performance hit of dynamic auth

Since enabling dynamic auth I’ve noticed a distinct new sluggishness to the UI (community edition 7.2) so ran a little experiment …

I’ve pre-compiled all the dynamic rule files and added a JAR containing them to the bonita webapp. Then a minor change to the PermissionServiceImpl class to avoid any dynamic load/unload - and Wow! the speed improvement is amazing. Oh the joy of open source! :slight_smile:

It got me thinking: why is there dynamic loading of these classes at all when the “setup.sh push” command says you need to reload after making changes anyway? Seems like an un-needed (and damaging) feature.

@Chris,

Why not add this as a ‘bug’ and get Bonitasoft to fix it in the released software?

Good find by the way…

Regards
Sean