|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.melati.servlet.ConfigServlet org.melati.servlet.PoemServlet org.melati.servlet.TemplateServlet org.melati.test.TemplateServletTest org.melati.test.TemplateServletTestOverride
public class TemplateServletTestOverride
Illustrate overridden authentication handling.
AccessHandler is initialsed from MelatiConfig, whis is assumed
to set to
org.melati.login.HttpSessionAccessHandler
in
org.melati.MelatiConfig.properties
;
we then override that configuration.
Field Summary |
---|
Fields inherited from class org.melati.servlet.TemplateServlet |
---|
templateEngine |
Fields inherited from class org.melati.servlet.ConfigServlet |
---|
melatiConfig, sysAdminEmail, sysAdminName |
Constructor Summary | |
---|---|
TemplateServletTestOverride()
|
Method Summary | |
---|---|
protected MelatiConfig |
melatiConfig()
Override the default (set) authentication method. |
Methods inherited from class org.melati.test.TemplateServletTest |
---|
doTemplateRequest, poemContext |
Methods inherited from class org.melati.servlet.TemplateServlet |
---|
addExtension, doPoemRequest, error, init, prePoemSession |
Methods inherited from class org.melati.servlet.PoemServlet |
---|
_handleException, destroy, doConfiguredRequest, getSysAdminEmail, getSysAdminName, handleException, poemContextWithLDB |
Methods inherited from class org.melati.servlet.ConfigServlet |
---|
doGet, doPost, httpStatusCode, setSysAdminEmail, setSysAdminName, writeConnectionPendingException, writeError |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateServletTestOverride()
Method Detail |
---|
protected MelatiConfig melatiConfig()
melatiConfig
in class TemplateServletTest
MelatiConfig
ConfigServlet.melatiConfig()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |