Class GrouperSessionWrapper

java.lang.Object
edu.internet2.middleware.grouper.j2ee.GrouperSessionWrapper
All Implemented Interfaces:
javax.servlet.http.HttpSession

public class GrouperSessionWrapper extends Object implements javax.servlet.http.HttpSession
wrap session so we can customize
  • Constructor Details

    • GrouperSessionWrapper

      public GrouperSessionWrapper(javax.servlet.http.HttpSession httpSession1)
      Parameters:
      httpSession1 - session
  • Method Details

    • getAttribute

      public Object getAttribute(String attributeName)
      Specified by:
      getAttribute in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.getAttribute(java.lang.String)
    • getAttributeNames

      public Enumeration getAttributeNames()
      Specified by:
      getAttributeNames in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.getAttributeNames()
    • getCreationTime

      public long getCreationTime()
      Specified by:
      getCreationTime in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.getCreationTime()
    • getId

      public String getId()
      Specified by:
      getId in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.getId()
    • getLastAccessedTime

      public long getLastAccessedTime()
      Specified by:
      getLastAccessedTime in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.getLastAccessedTime()
    • getMaxInactiveInterval

      public int getMaxInactiveInterval()
      Specified by:
      getMaxInactiveInterval in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.getMaxInactiveInterval()
    • getServletContext

      public javax.servlet.ServletContext getServletContext()
      Specified by:
      getServletContext in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.getServletContext()
    • getSessionContext

      public javax.servlet.http.HttpSessionContext getSessionContext()
      Specified by:
      getSessionContext in interface javax.servlet.http.HttpSession
      Returns:
      session context
      See Also:
      • HttpSession
    • getValue

      public Object getValue(String arg0)
      Specified by:
      getValue in interface javax.servlet.http.HttpSession
      Parameters:
      arg0 -
      Returns:
      the value
      See Also:
      • HttpSession
    • getValueNames

      public String[] getValueNames()
      Specified by:
      getValueNames in interface javax.servlet.http.HttpSession
      Returns:
      value names
      See Also:
      • HttpSession
    • invalidate

      public void invalidate()
      Specified by:
      invalidate in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.invalidate()
    • isNew

      public boolean isNew()
      Specified by:
      isNew in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.isNew()
    • putValue

      public void putValue(String arg0, Object arg1)
      Specified by:
      putValue in interface javax.servlet.http.HttpSession
      Parameters:
      arg0 -
      arg1 -
      See Also:
      • HttpSession
    • removeAttribute

      public void removeAttribute(String attributeName)
      Specified by:
      removeAttribute in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.removeAttribute(java.lang.String)
    • removeValue

      public void removeValue(String arg0)
      Specified by:
      removeValue in interface javax.servlet.http.HttpSession
      Parameters:
      arg0 -
      See Also:
      • HttpSession
    • setAttribute

      public void setAttribute(String attributeName, Object value)
      Specified by:
      setAttribute in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.setAttribute(java.lang.String, java.lang.Object)
    • setMaxInactiveInterval

      public void setMaxInactiveInterval(int arg0)
      Specified by:
      setMaxInactiveInterval in interface javax.servlet.http.HttpSession
      See Also:
      • HttpSession.setMaxInactiveInterval(int)
    • getHttpSession

      public javax.servlet.http.HttpSession getHttpSession()
      Returns:
      the session