adding interceptor from wildfly security manager, fixing the privileged ...

...interceptor to save the overhead of the privileged action if there is no security manager