Skip to content

Commit 9ceda5d

Browse files
committed
SESPRINGPYTHONPY-128: Fixes to SpringWiki
git-svn-id: https://src.springframework.org/svn/se-springpython-py/trunk@750 ce8fead1-4192-4296-8608-a705134b927f
1 parent 8d9f70c commit 9ceda5d

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

springpython/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def create_pydocs():
409409
pydoc.writedoc("springpython.remoting.pyro")
410410
pydoc.writedoc("springpython.remoting.pyro.PyroDaemonHolder")
411411
pydoc.writedoc("springpython.security")
412-
pydoc.writedoc("springpython.security.cherrypy")
412+
pydoc.writedoc("springpython.security.cherrypy3")
413413
pydoc.writedoc("springpython.security.intercept")
414414
pydoc.writedoc("springpython.security.context")
415415
pydoc.writedoc("springpython.security.context.SecurityContextHolder")

springpython/docs/reference/src/security.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
<section id="security-dependencies">
1717
<title>External dependencies</title>
1818
<para>
19-
<classname>springpython.security.cherrypy31</classname>
20-
and
21-
<classname>springpython.security.web</classname>
22-
packages depend on
19+
<classname>springpython.security.cherrypy3</classname>
20+
package depends on
2321
<ulink url="http://cherrypy.org/">CherryPy 3</ulink>
2422
being installed prior to using them. Other than that, there are
2523
no specific external libraries required by Spring Python's security

springpython/samples/springwiki/applicationContext.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
<property name="alwaysReauthenticate">False</property>
4646
</object>
4747

48-
<object id="cherrypySessionStrategy" class="springpython.security.web.CP3SessionStrategy"/>
48+
<object id="cherrypySessionStrategy" class="springpython.security.cherrypy3.CP3SessionStrategy"/>
4949

50-
<object id="redirectStrategy" class="springpython.security.web.CP3RedirectStrategy"/>
50+
<object id="redirectStrategy" class="springpython.security.cherrypy3.CP3RedirectStrategy"/>
5151

5252
<object id="httpContextFilter" class="springpython.security.web.HttpSessionContextIntegrationFilter">
5353
<property name="sessionStrategy" ref="cherrypySessionStrategy"/>
@@ -101,7 +101,7 @@
101101
</property>
102102
</object>
103103

104-
<object id="filterChainProxy" class="springpython.security.web.CP3FilterChainProxy">
104+
<object id="filterChainProxy" class="springpython.security.cherrypy3.CP3FilterChainProxy">
105105
<property name="filterInvocationDefinitionSource">
106106
<list>
107107
<tuple>

springpython/samples/springwiki/noxml.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import view
1919

2020
from springpython.config import *
21+
from springpython.security.cherrypy3 import *
2122
from springpython.security.web import *
2223
from springpython.security.providers import *
2324
from springpython.security.providers.dao import *

springpython/samples/springwiki/springwiki.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import cherrypy
1818
import logging
1919
import os
20-
from springpython.security.cherrypy31 import AuthenticationFilter, ContextSessionFilter, SecurityFilter
2120
from springpython.security.context import SecurityContextHolder
2221
from springpython.config import XMLConfig
2322
from springpython.context import ApplicationContext

0 commit comments

Comments
 (0)