Extract retrieving of security context to its own message which makes overriding possible