org.acegisecurity.intercept.method |
Provides support objects for securing Java method invocations
via different AOP libraries.
|
Java Source File Name | Type | Comment |
AbstractMethodDefinitionSource.java | Class | Abstract implementation of MethodDefinitionSource . |
AbstractMethodDefinitionSourceTests.java | Class | Tests
AbstractMethodDefinitionSource and associated
ConfigAttributeDefinition . |
MethodDefinitionAttributes.java | Class | Stores a
ConfigAttributeDefinition for each method signature defined by Commons Attributes. This class
will only detect those attributes which are defined for:
- The class-wide attributes defined for the intercepted class.
- The class-wide attributes defined for interfaces explicitly implemented by the intercepted class.
- The method-specific attributes defined for the intercepted method of the intercepted class.
- The method-specific attributes defined by any explicitly implemented interface if that interface
contains a method signature matching that of the intercepted method.
Note that attributes defined against parent classes (either for their methods or interfaces) are not
detected. |
MethodDefinitionAttributesTests.java | Class | Tests
MethodDefinitionAttributes . |
MethodDefinitionMap.java | Class | Stores a
ConfigAttributeDefinition for each method signature defined in a bean context. For
consistency with
MethodDefinitionAttributes as well as support for
MethodDefinitionSourceAdvisor , this implementation will return a
ConfigAttributeDefinition containing all configuration attributes defined against:
- The method-specific attributes defined for the intercepted method of the intercepted class.
- The method-specific attributes defined by any explicitly implemented interface if that interface
contains a method signature matching that of the intercepted method.
In general you should therefore define the interface methods of your secure objects, not the
implementations. |
MethodDefinitionSource.java | Interface | Marker interface for ObjectDefinitionSource implementations
that are designed to perform lookups keyed on Method s. |
MethodDefinitionSourceEditor.java | Class | Property editor to assist with the setup of a
MethodDefinitionSource . |
MethodDefinitionSourceEditorTests.java | Class | Tests
MethodDefinitionSourceEditor and its asociated
MethodDefinitionMap . |
MethodDefinitionSourceMapping.java | Class | Configuration entry for
MethodDefinitionSource , that holds
the method to be protected and the
ConfigAttribute s as
String that apply to that url. |
MethodInvocationPrivilegeEvaluator.java | Class | Allows users to determine whether they have "before invocation" privileges for a given method invocation. Of
course, if an
org.acegisecurity.AfterInvocationManager is used to authorize the result of a method
invocation, this class cannot assist determine whether or not the AfterInvocationManager will enable
access. |
MethodInvocationPrivilegeEvaluatorTests.java | Class | Tests
org.acegisecurity.intercept.method.MethodInvocationPrivilegeEvaluator . |
MockAttributes.java | Class | Used by the
MethodDefinitionAttributesTests . |
MockMethodDefinitionSource.java | Class | |