gpt4 book ai didi

waffle.windows.auth.impl.WindowsSecurityContextImpl.dispose()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-23 05:53:05 26 4
gpt4 key购买 nike

本文整理了Java中waffle.windows.auth.impl.WindowsSecurityContextImpl.dispose()方法的一些代码示例,展示了WindowsSecurityContextImpl.dispose()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WindowsSecurityContextImpl.dispose()方法的具体详情如下:
包路径:waffle.windows.auth.impl.WindowsSecurityContextImpl
类名称:WindowsSecurityContextImpl
方法名:dispose

WindowsSecurityContextImpl.dispose介绍

[英]Dispose a security context.
[中]处理安全上下文。

代码示例

代码示例来源:origin: org.postgresql/postgresql

/**
  * Clean up native win32 resources after completion or failure of SSPI authentication. This
  * SSPIClient instance becomes unusable after disposal.
  */
 public void dispose() {
  if (sspiContext != null) {
   sspiContext.dispose();
   sspiContext = null;
  }
  if (clientCredentials != null) {
   clientCredentials.dispose();
   clientCredentials = null;
  }
 }
}

代码示例来源:origin: com.github.waffle/waffle-jna

@Override
public void dispose() {
  WindowsSecurityContextImpl.dispose(this.ctx);
  if (this.credentials != null) {
    this.credentials.dispose();
  }
}

代码示例来源:origin: com.github.dblock.waffle/waffle-jna

@Override
public void dispose() {
  WindowsSecurityContextImpl.dispose(this.ctx);
  if (this.credentials != null) {
    this.credentials.dispose();
  }
}

代码示例来源:origin: Waffle/waffle

@Override
public void dispose() {
  WindowsSecurityContextImpl.dispose(this.ctx);
  if (this.credentials != null) {
    this.credentials.dispose();
  }
}

代码示例来源:origin: com.github.dblock.waffle/waffle-jna

case WinError.SEC_E_BUFFER_TOO_SMALL:
  tokenSize += Sspi.MAX_TOKEN_SIZE;
  sc.dispose();
  WindowsSecurityContextImpl.dispose(continueHandle);
  break;
case WinError.SEC_E_OK:
  break;
default:
  sc.dispose();
  WindowsSecurityContextImpl.dispose(continueHandle);
  this.continueContexts.asMap().remove(connectionId);
  throw new Win32Exception(rc);

代码示例来源:origin: com.github.waffle/waffle-jna

case WinError.SEC_E_BUFFER_TOO_SMALL:
  tokenSize += Sspi.MAX_TOKEN_SIZE;
  sc.dispose();
  WindowsSecurityContextImpl.dispose(continueHandle);
  break;
case WinError.SEC_E_OK:
  break;
default:
  sc.dispose();
  WindowsSecurityContextImpl.dispose(continueHandle);
  this.resetSecurityToken(connectionId);
  throw new Win32Exception(rc);

代码示例来源:origin: Waffle/waffle

case WinError.SEC_E_BUFFER_TOO_SMALL:
  tokenSize += Sspi.MAX_TOKEN_SIZE;
  sc.dispose();
  WindowsSecurityContextImpl.dispose(continueHandle);
  break;
case WinError.SEC_E_OK:
  break;
default:
  sc.dispose();
  WindowsSecurityContextImpl.dispose(continueHandle);
  this.resetSecurityToken(connectionId);
  throw new Win32Exception(rc);

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com