def delete_persistent_client_session_data(principal): ''' Given a principal remove the session data for that principal from the persistent secure storage. Raises ValueError if unable to perform the action for any reason. ''' try: session_storage.remove_data(principal, CCACHE_COOKIE_KEY) except Exception as e: raise ValueError(str(e))
def test_03(self): session_storage.remove_data(self.principal, self.key) try: session_storage.get_data(self.principal, self.key) except session_storage.KRB5Error: pass