Преглед изворни кода

SEC-783: Added custom-after-invocation-provider element to namespace.

Luke Taylor пре 17 година
родитељ
комит
d1e23b3d2c

+ 2 - 0
core/src/main/resources/org/springframework/security/config/spring-security-2.0.rnc

@@ -179,6 +179,8 @@ global-method-security.attlist &=
     ## Optional AccessDecisionManager bean ID to override the default used for method security.
     attribute access-decision-manager-ref {xsd:string}?
 
+custom-after-invocation-provider =
+    element custom-after-invocation-provider {empty}
 
 protect-pointcut =
     ## Defines a protected pointcut and the access control configuration attributes that apply to it. Every bean registered in the Spring application context that provides a method that matches the pointcut will receive security authorization.

+ 3 - 0
core/src/main/resources/org/springframework/security/config/spring-security-2.0.xsd

@@ -529,6 +529,9 @@
       </xs:annotation>
     </xs:attribute>
   </xs:attributeGroup>
+  <xs:element name="custom-after-invocation-provider">
+    <xs:complexType/>
+  </xs:element>
   <xs:attributeGroup name="protect-pointcut.attlist">
     <xs:attribute name="expression" use="required" type="xs:string">
       <xs:annotation>