def create_exposed_session(self, session, key=None, context=None):
        """
        :type session:  SimpleSession
        """
        # shiro ignores key and context parameters
        return DelegatingSession(self, SessionKey(session.session_id))