waffle.servlet.WindowsPrincipal.getIdentity()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(172)

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

WindowsPrincipal.getIdentity介绍

[英]Underlying identity.
[中]潜在的身份。

代码示例

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

final WindowsPrincipal windowsPrincipal = (WindowsPrincipal) principal;
if (this.impersonate && windowsPrincipal.getIdentity() == null) {
if (this.impersonate) {
  NegotiateSecurityFilter.LOGGER.debug("re-impersonating user");
  ctx = windowsPrincipal.getIdentity().impersonate();

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

final WindowsPrincipal windowsPrincipal = (WindowsPrincipal) principal;
if (this.impersonate && windowsPrincipal.getIdentity() == null) {
if (this.impersonate) {
  NegotiateSecurityFilter.LOGGER.debug("re-impersonating user");
  ctx = windowsPrincipal.getIdentity().impersonate();

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

final WindowsPrincipal windowsPrincipal = (WindowsPrincipal) principal;
if (this.impersonate && windowsPrincipal.getIdentity() == null) {
if (this.impersonate) {
  NegotiateSecurityFilter.LOGGER.debug("re-impersonating user");
  ctx = windowsPrincipal.getIdentity().impersonate();

代码示例来源:origin: org.wso2.carbon.identity.application.auth.iwa.ntlm/org.wso2.carbon.identity.application.authenticator.iwa.ntlm

if (IWAServiceDataHolder.getInstance().isImpersonate() && windowsPrincipal.getIdentity() == null) {
    log.debug("re-impersonating user");
  ctx = windowsPrincipal.getIdentity().impersonate();

代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.authenticator.iwa

if (IWAServiceDataHolder.getInstance().isImpersonate() && windowsPrincipal.getIdentity() == null) {
    log.debug("re-impersonating user");
  ctx = windowsPrincipal.getIdentity().impersonate();

相关文章