com.sun.enterprise.web.session
Class WebSessionCookieConfig

java.lang.Object
  extended by org.apache.catalina.core.SessionCookieConfigImpl
      extended by com.sun.enterprise.web.session.WebSessionCookieConfig
All Implemented Interfaces:
javax.servlet.SessionCookieConfig

public final class WebSessionCookieConfig
extends SessionCookieConfigImpl

This class extends SessionCookieConfigImpl to handle additional secure cookie functionality from glassfish-web.xml

Author:
Shing Wai Chan

Nested Class Summary
static class WebSessionCookieConfig.CookieSecureType
           
 
Constructor Summary
WebSessionCookieConfig(StandardContext context)
           
 
Method Summary
 WebSessionCookieConfig.CookieSecureType getSecure()
           
 void setSecure(boolean secure)
           
 void setSecure(java.lang.String secure)
           
 
Methods inherited from class org.apache.catalina.core.SessionCookieConfigImpl
getComment, getDomain, getMaxAge, getName, getPath, isHttpOnly, isSecure, setComment, setDomain, setHttpOnly, setMaxAge, setName, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSessionCookieConfig

public WebSessionCookieConfig(StandardContext context)
Method Detail

setSecure

public void setSecure(boolean secure)
Specified by:
setSecure in interface javax.servlet.SessionCookieConfig
Overrides:
setSecure in class SessionCookieConfigImpl

setSecure

public void setSecure(java.lang.String secure)

getSecure

public WebSessionCookieConfig.CookieSecureType getSecure()


Copyright © 2012 GlassFish Community. All Rights Reserved.