def clear_cache(self, items=None, topic=EVENT_TOPIC):
try:<EOL><INDENT>for realm in self.realms:<EOL><INDENT>identifier = items.identifiers.from_source(realm.name)<EOL>if identifier:<EOL><INDENT>realm.clear_cached_authc_info(identifier)<EOL><DEDENT><DEDENT><DEDENT>except AttributeError:<EOL><INDENT>msg = ('<STR_LIT>'<EOL>'<STR_LIT>' + str(items))<EOL>logger.warn(msg)<EOL><DEDENT>
expects event object to be in the format of a session-stop or
session-expire event, whose results attribute is a
namedtuple(identifiers, session_key)