Quellcode durchsuchen

Minor corrections to aspectj interceptor docs

Luke Taylor vor 15 Jahren
Ursprung
Commit
b1243416fc
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      docs/manual/src/docbook/secured-objects.xml

+ 2 - 2
docs/manual/src/docbook/secured-objects.xml

@@ -124,7 +124,7 @@ public aspect DomainObjectInstanceSecurityAspect implements InitializingBean {
             throw new IllegalArgumentException("securityInterceptor required");
             throw new IllegalArgumentException("securityInterceptor required");
         }
         }
     }
     }
-}    
+}
 </programlisting>
 </programlisting>
     <para>In the above example, the security interceptor will be applied to every instance of
     <para>In the above example, the security interceptor will be applied to every instance of
         <literal>PersistableEntity</literal>, which is an abstract class not shown (you can use any
         <literal>PersistableEntity</literal>, which is an abstract class not shown (you can use any
@@ -140,7 +140,7 @@ public aspect DomainObjectInstanceSecurityAspect implements InitializingBean {
 <bean id="domainObjectInstanceSecurityAspect"
 <bean id="domainObjectInstanceSecurityAspect"
      class="org.springframework.security.samples.aspectj.DomainObjectInstanceSecurityAspect"
      class="org.springframework.security.samples.aspectj.DomainObjectInstanceSecurityAspect"
      factory-method="aspectOf">
      factory-method="aspectOf">
-  <property name="securityInterceptor" ref="aspectJSecurityInterceptor"/>
+  <property name="securityInterceptor" ref="bankManagerSecurity"/>
 </bean>]]>
 </bean>]]>
     </programlisting>
     </programlisting>
     <para>That's it! Now you can create your beans from anywhere within your application, using
     <para>That's it! Now you can create your beans from anywhere within your application, using