public class DelegatingSecuritySupplier<T>extends Object
implements Supplier<T>
Wraps a delegate Supplier with logic for setting up an SecurityContext before invoking the delegate
Supplier and then removing the SecurityContext after the delegate has completed.
If there is a SecurityContext that already exists, it will be restored after the get() method is
invoked.