def _get_subject(self):
subject_context = SubjectContext(yosai=self, security_manager=self.security_manager)<EOL>subject = self.security_manager.create_subject(subject_context=subject_context)<EOL>global_subject_context.stack.append(subject)<EOL>return subject<EOL>
Returns the currently accessible Subject available to the calling code
depending on runtime environment.

:returns: the Subject currently accessible to the calling code