javax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdValid()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(4.3k)|赞(0)|评价(0)|浏览(135)

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

HttpServletRequestWrapper.isRequestedSessionIdValid介绍

[英]The default behavior of this method is to return isRequestedSessionIdValid() on the wrapped request object.
[中]此方法的默认行为是在包装的请求对象上返回isRequestedSessionIdValid()。

代码示例

代码示例来源:origin: cloudfoundry/uaa

@Override
public boolean isRequestedSessionIdValid() {
  return super.isRequestedSessionIdValid();
}

代码示例来源:origin: apache/shiro

public boolean isRequestedSessionIdValid() {
  if (isHttpSessions()) {
    return super.isRequestedSessionIdValid();
  } else {
    Boolean value = (Boolean) getAttribute(REFERENCED_SESSION_ID_IS_VALID);
    return (value != null && value.equals(Boolean.TRUE));
  }
}

代码示例来源:origin: pippo-java/pippo

@Override
public boolean isRequestedSessionIdValid() {
  if (requestedSessionIdValid == null) {
    String sessionId = getRequestedSessionId();
    SessionData sessionData = (sessionId != null) ? getSessionDataStorage().get(sessionId) : null;
    return isRequestedSessionIdValid(sessionData);
  }
  return super.isRequestedSessionIdValid();
}

代码示例来源:origin: org.gatein.pc/pc-portlet

public boolean isRequestedSessionIdValid()
{
 return realReq.isRequestedSessionIdValid();
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public boolean isRequestedSessionIdValid()
{
  boolean requestedSessionIdValid = super.isRequestedSessionIdValid();
  return requestedSessionIdValid;
}

代码示例来源:origin: com.github.wuic/wuic-servlet

/**
 * {@inheritDoc}
 */
@Override
public boolean isRequestedSessionIdValid() {
  // Synchronized access
  synchronized (mutex) {
    return super.isRequestedSessionIdValid();
  }
}

代码示例来源:origin: org.jasig.portal/uPortal-rendering

@Override
public boolean isRequestedSessionIdValid() {
  this.checkState();
  return super.isRequestedSessionIdValid();
}

代码示例来源:origin: Jasig/uPortal

@Override
public boolean isRequestedSessionIdValid() {
  this.checkState();
  return super.isRequestedSessionIdValid();
}

代码示例来源:origin: org.apache.wink/wink-server

@Override
public boolean isRequestedSessionIdValid() {
  return getCorrectRequest().isRequestedSessionIdValid();
}

代码示例来源:origin: com.bbossgroups.security/bboss-security

@Override
public boolean isRequestedSessionIdValid() {
  if( usewebsession)
  {
    return super.isRequestedSessionIdValid();
  }
  HttpSessionImpl session = (HttpSessionImpl)this.getSession(false);
  if(session == null)
    return false;
  else
    return session.getInnerSession().isValidate();
}

代码示例来源:origin: org.seleniumhq.selenium.server/selenium-server-coreless

public boolean isRequestedSessionIdValid()
{
  if (_xContext)
  {
    String requestedSessionid = super.getRequestedSessionId();
    if (requestedSessionid != null)
    {
      HttpSession session = getSession(false);
      if (session != null)
      {
        return ((AbstractSessionManager.Session)session).isValid() && requestedSessionid.equals(session.getId());
      }
  }
  return false;
  }
  else
  {
    return super.isRequestedSessionIdValid();
  }
}

代码示例来源:origin: org.seleniumhq.selenium/jetty-rc-repacked

public boolean isRequestedSessionIdValid()
{
  if (_xContext)
  {
    String requestedSessionid = super.getRequestedSessionId();
    if (requestedSessionid != null)
    {
      HttpSession session = getSession(false);
      if (session != null)
      {
        return ((AbstractSessionManager.Session)session).isValid() && requestedSessionid.equals(session.getId());
      }
  }
  return false;
  }
  else
  {
    return super.isRequestedSessionIdValid();
  }
}

代码示例来源:origin: bbossgroups/security

@Override
public boolean isRequestedSessionIdValid() {
  if( usewebsession)
  {
    return super.isRequestedSessionIdValid();
  }
  HttpSessionImpl session = (HttpSessionImpl)this.getSession(false);
  if(session == null)
    return false;
  else
    return session.getInnerSession().isValidate();
}

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

return super.isRequestedSessionIdValid();

代码示例来源:origin: jboss.web/jbossweb

return super.isRequestedSessionIdValid();

代码示例来源:origin: org.jboss.web/jbossweb

return super.isRequestedSessionIdValid();

代码示例来源:origin: tomcat/catalina

return super.isRequestedSessionIdValid();

代码示例来源:origin: codefollower/Tomcat-Research

return super.isRequestedSessionIdValid();

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

return super.isRequestedSessionIdValid();

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

return super.isRequestedSessionIdValid();

相关文章

HttpServletRequestWrapper类方法