Method to get SynchronizedSecContextImpl - use this only if ctx is not already an instance of SynchronizedSecContextImpl.
It is safer to use getSynchronizedContext instead.