Exemple #1
0
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))
Exemple #2
0
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))
Exemple #3
0
 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
 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