Package org.apache.struts.tiles
Class SecureTilesPlugin
- java.lang.Object
-
- org.apache.struts.tiles.TilesPlugin
-
- org.apache.struts.tiles.SecureTilesPlugin
-
- All Implemented Interfaces:
org.apache.struts.action.PlugIn
,SecurePlugInInterface
public class SecureTilesPlugin extends org.apache.struts.tiles.TilesPlugin implements SecurePlugInInterface
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
addSession
protected org.apache.struts.config.ModuleConfig
config
protected java.lang.String
enable
protected java.lang.String
httpPort
protected java.lang.String
httpsPort
protected org.apache.commons.logging.Log
log
protected java.lang.String[]
registrations
protected java.lang.String
resourceName
protected org.apache.struts.util.MessageResources
resources
protected org.apache.struts.action.ActionServlet
servlet
protected java.util.Collection
servletMappings
protected java.lang.String
servletName
-
Fields inherited from class org.apache.struts.tiles.TilesPlugin
currentPlugInConfigObject, definitionFactory, moduleAware, tilesUtilImplClassname
-
Fields inherited from interface org.apache.struts.action.SecurePlugInInterface
DEFAULT_ADD_SESSION, DEFAULT_ENABLE, DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT, SECURE_PLUGIN
-
-
Constructor Summary
Constructors Constructor Description SecureTilesPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addServletMapping(java.lang.String servletName, java.lang.String urlPattern)
void
destroy()
java.lang.String
getAddSession()
java.lang.String
getEnable()
java.lang.String
getHttpPort()
java.lang.String
getHttpsPort()
java.util.Collection
getServletMappings()
boolean
getSslExtAddSession()
boolean
getSslExtEnable()
void
init(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig moduleConfig)
protected void
initMappings()
protected void
initRequestProcessorClass(org.apache.struts.config.ModuleConfig config)
protected void
initResources()
void
setAddSession(java.lang.String addSession)
void
setEnable(java.lang.String s)
void
setHttpPort(java.lang.String s)
void
setHttpsPort(java.lang.String s)
-
-
-
Field Detail
-
addSession
protected java.lang.String addSession
-
httpPort
protected java.lang.String httpPort
-
httpsPort
protected java.lang.String httpsPort
-
enable
protected java.lang.String enable
-
resourceName
protected java.lang.String resourceName
-
resources
protected org.apache.struts.util.MessageResources resources
-
registrations
protected java.lang.String[] registrations
-
log
protected org.apache.commons.logging.Log log
-
config
protected org.apache.struts.config.ModuleConfig config
-
servlet
protected org.apache.struts.action.ActionServlet servlet
-
servletName
protected java.lang.String servletName
-
servletMappings
protected java.util.Collection servletMappings
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.apache.struts.action.PlugIn
- Overrides:
destroy
in classorg.apache.struts.tiles.TilesPlugin
-
setHttpsPort
public void setHttpsPort(java.lang.String s)
-
setHttpPort
public void setHttpPort(java.lang.String s)
-
getHttpsPort
public java.lang.String getHttpsPort()
- Specified by:
getHttpsPort
in interfaceSecurePlugInInterface
-
getHttpPort
public java.lang.String getHttpPort()
- Specified by:
getHttpPort
in interfaceSecurePlugInInterface
-
getServletMappings
public java.util.Collection getServletMappings()
- Specified by:
getServletMappings
in interfaceSecurePlugInInterface
-
getEnable
public java.lang.String getEnable()
- Specified by:
getEnable
in interfaceSecurePlugInInterface
-
setEnable
public void setEnable(java.lang.String s)
-
getAddSession
public java.lang.String getAddSession()
-
setAddSession
public void setAddSession(java.lang.String addSession)
-
getSslExtAddSession
public boolean getSslExtAddSession()
- Specified by:
getSslExtAddSession
in interfaceSecurePlugInInterface
- Returns:
-
getSslExtEnable
public boolean getSslExtEnable()
- Specified by:
getSslExtEnable
in interfaceSecurePlugInInterface
- Returns:
-
init
public void init(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig moduleConfig) throws javax.servlet.ServletException
- Specified by:
init
in interfaceorg.apache.struts.action.PlugIn
- Overrides:
init
in classorg.apache.struts.tiles.TilesPlugin
- Throws:
javax.servlet.ServletException
-
initRequestProcessorClass
protected void initRequestProcessorClass(org.apache.struts.config.ModuleConfig config) throws javax.servlet.ServletException
- Overrides:
initRequestProcessorClass
in classorg.apache.struts.tiles.TilesPlugin
- Throws:
javax.servlet.ServletException
-
initMappings
protected void initMappings() throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
initResources
protected void initResources() throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
addServletMapping
public void addServletMapping(java.lang.String servletName, java.lang.String urlPattern)
-
-