_request = request;
_response = response;
_output = new OutputStreamProxy(_response);
String session_id = adapter.getSession();
if (session_id != null) {
SessionContainer container = _address.getZone().getSessionContainer();
if (container != null) {
_session = container.getSession(session_id);
if (_session != null) {
String citizen =_session.getCitizen();
if (citizen != null) {
Realm realm = _address.getZone().getAuthorization().getRealm();
if (realm != null) {