@groovy.util.logging.Slf4j @groovy.transform.CompileStatic class ProxyAwareDelegatingMethodSecurityMetadataSource extends AbstractMethodSecurityMetadataSource implements InitializingBean
Replacement for DelegatingMethodSecurityMetadataSource which is final.
Makes two changes; unproxies classes, and treats an empty return value from
MethodSecurityMetadataSource.getAttributes() as equivalent to a
null return since an empty return stops the loop and another
source might have attributes.
| Modifiers | Name | Description |
|---|---|---|
static class |
ProxyAwareDelegatingMethodSecurityMetadataSource.DefaultCacheKey |
| Modifiers | Name | Description |
|---|---|---|
protected static java.util.List<ConfigAttribute> |
NULL_CONFIG_ATTRIBUTE |
|
protected java.util.Map<DefaultCacheKey, java.util.Collection<ConfigAttribute>> |
cache |
|
protected java.util.List<MethodSecurityMetadataSource> |
methodSecurityMetadataSources |
| Constructor and description |
|---|
ProxyAwareDelegatingMethodSecurityMetadataSource() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
afterPropertiesSet() |
|
java.util.Collection<ConfigAttribute> |
getAllConfigAttributes() |
|
java.util.Collection<ConfigAttribute> |
getAttributes(java.lang.reflect.Method m, java.lang.Class<?> tc) |
|
void |
setMethodSecurityMetadataSources(java.util.List<MethodSecurityMetadataSource> sources)Dependency injection for the sources. |
| Methods inherited from class | Name |
|---|---|
class AbstractMethodSecurityMetadataSource |
supports |
Dependency injection for the sources.
sources - the sources