org.apache.catalina.authenticator.AuthenticatorBase.getCache()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(90)

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

AuthenticatorBase.getCache介绍

[英]Return the cache authenticated Principals flag.
[中]返回缓存身份验证主体标志。

代码示例

代码示例来源:origin: org.glassfish.main.security/websecurity

@Override
public boolean getCache() {
  return authBase.getCache();
}

代码示例来源:origin: org.apache.tomcat/tomcat-catalina

if ((session == null) || catalinaRequest.getSessionInternal(false).getPrincipal() == null
    || !(context.getAuthenticator() instanceof AuthenticatorBase)
    || !((AuthenticatorBase) context.getAuthenticator()).getCache()) {

代码示例来源:origin: org.glassfish.main.security/websecurity

AuthenticatorProxy(Authenticator authenticator, Principal p, String authType)
    throws LifecycleException {
  this.authBase = (AuthenticatorBase) authenticator;
  this.principal = p;
  this.authType =
      authType == null ? RealmAdapter.PROXY_AUTH_TYPE : authType;
  setCache(authBase.getCache());
  setContainer(authBase.getContainer());
  start(); //finds sso valve and sets its value in proxy
}

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

if ((session == null) || catalinaRequest.getSessionInternal(false).getPrincipal() == null
    || !(context.getAuthenticator() instanceof AuthenticatorBase)
    || !((AuthenticatorBase) context.getAuthenticator()).getCache()) {

相关文章

微信公众号

最新文章

更多