diff --git a/doc/xdocs/upgrade/upgrade-080-090.html b/doc/xdocs/upgrade/upgrade-080-090.html
index 40ac72d7ec..59ccb0170b 100644
--- a/doc/xdocs/upgrade/upgrade-080-090.html
+++ b/doc/xdocs/upgrade/upgrade-080-090.html
@@ -29,6 +29,29 @@ applications:
and work with the SecurityContext (instead of the now removed Context
and SecureContext interfaces).
+ For example, change:
+
+ SecureContext ctx = SecureContextUtils.getSecureContext();
+ to:
+
+
+ SecurityContext ctx = SecurityContextHolder.getContext();
+
+
+ and change:
+
+ <bean id="httpSessionContextIntegrationFilter" class="net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter">
+ to:
+ <property name="context"><value>net.sf.acegisecurity.context.security.SecureContextImpl</value></property>
+ </bean>
+
+
+ <bean id="httpSessionContextIntegrationFilter" class="net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter">
+
+ <property name="context"><value>net.sf.acegisecurity.context.SecurityContextImpl</value></property>
+ </bean>
+
+
We apologise for the inconvenience, but on a more positive note this means you receive strict
type checking, you no longer need to mess around with casting to and from Context
implementations, your applications no longer need to perform checking of null and
@@ -36,21 +59,31 @@ applications:
is an InheritableThreadLocal - which should make life easier in rich client
environments.
-
AbstractProcessingFilter has changed its getter/setter approach used for customised
authentication exception directions. See the
- AbstractProcessingFilter JavaDocs to learn more.AbstractProcessingFilter JavaDocs to learn more.AnonymousProcessingFilter now has a removeAfterRequest property, which defaults to true. This
will cause the anonymous authentication token to be set to null at the end of each request, thus
- avoiding the expense of creating a HttpSession in HttpSessionContextIntegrationFilter. You may
+ avoiding the expense of creating a HttpSession in HttpSessionContextIntegrationFilter. You may
set this property to false if you would like the anoymous authentication token to be preserved,
which would be an unusual requirement.LoggerListener has changed. See the net.sf.acegisecurity.event package.
+ <bean id="loggerListener" class="net.sf.acegisecurity.providers.dao.event.LoggerListener"/>
+
+ to:
+ <bean id="loggerListener" class="net.sf.acegisecurity.providers.dao.event.authorization.LoggerListener"/>
+ <authz:authentication> JSP tag will generally need to set the operation
+ property equal to "username", as reflection is now used to retrieve the property displayed.