Author: florianh
Date: Tue Sep 20 19:29:58 2011
New Revision: 1173317
URL: http://svn.apache.org/viewvc?rev=1173317&view=rev
Log:
JSPWIKI-705 (Log a clear hint to a running security manager)
Modified:
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ReleaseNotes
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/WikiServletFilter.java
Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ReleaseNotes
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ReleaseNotes?rev=1173317&r1=1173316&r2=1173317&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ReleaseNotes (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ReleaseNotes Tue Sep 20
19:29:58 2011
@@ -92,9 +92,9 @@ partially:
KNOWN PROBLEMS
==============
-* WebDav does not yet support the new
- authentication/permissions scheme. Therefore, if you have very
- sensitive data in your wiki, you might not want to enable it.
+* WebDAV does not yet support the new authentication/permissions scheme.
+ Therefore, if you have very sensitive data in your wiki, you might not want
+ to enable it.
* Not all old plugins work. Specifically any plugins, which construct
new WikiPages will fail because of the constructor has been changed.
@@ -107,3 +107,5 @@ KNOWN PROBLEMS
* The ShortURLConstructor does not work reliably. Please use
ShortViewURLConstructor, or Apache mod_rewrite.
+
+* Running with a security manager isn't yet supported (see JSPWIKI-129).
Modified:
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/WikiServletFilter.java
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/WikiServletFilter.java?rev=1173317&r1=1173316&r2=1173317&view=diff
==============================================================================
---
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/WikiServletFilter.java
(original)
+++
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/ui/WikiServletFilter.java
Tue Sep 20 19:29:58 2011
@@ -76,14 +76,13 @@ public class WikiServletFilter implement
public void init( FilterConfig config ) throws ServletException
{
ServletContext context = config.getServletContext();
- System.out.println( "\n " + System.currentTimeMillis() + "
wikiservletfilter init() \n" );
// TODO REMOVEME when resolving JSPWIKI-129
if( System.getSecurityManager() != null )
{
- context
- .log( "== JSPWIKI WARNING == : This container is running
with a security manager. JSPWiki does not yet really support that right now.
See issue JSPWIKI-129 for details and information on how to proceed." );
+ context.log( "== JSPWIKI WARNING == : This container is running
with a security manager. JSPWiki does not yet really support that right now.
See issue JSPWIKI-129 for details and information on how to proceed." );
}
+
m_engine = WikiEngine.getInstance( context, null );
}