Package | Description |
---|---|
org.springframework.security.access.annotation |
Support for JSR-250 and Spring Security
@Secured annotations. |
org.springframework.security.access.intercept.aopalliance |
Enforces security for AOP Alliance
MethodInvocation s, such as via Spring AOP. |
org.springframework.security.access.method |
Provides
SecurityMetadataSource implementations for securing Java method invocations via different
AOP libraries. |
org.springframework.security.access.prepost |
Contains the infrastructure classes for handling the
@PreAuthorize , @PreFilter , @PostAuthorize
and @PostFilter annotations. |
Modifier and Type | Class and Description |
---|---|
class |
Jsr250MethodSecurityMetadataSource
Sources method security metadata from major JSR 250 security annotations.
|
class |
SecuredAnnotationSecurityMetadataSource
Sources method security metadata from Spring Security's
Secured annotation. |
Modifier and Type | Method and Description |
---|---|
MethodSecurityMetadataSource |
MethodSecurityInterceptor.getSecurityMetadataSource() |
Modifier and Type | Method and Description |
---|---|
void |
MethodSecurityInterceptor.setSecurityMetadataSource(MethodSecurityMetadataSource newSource) |
Constructor and Description |
---|
MethodSecurityMetadataSourceAdvisor(String adviceBeanName,
MethodSecurityMetadataSource attributeSource,
String attributeSourceBeanName)
Alternative constructor for situations where we want the advisor decoupled from the advice.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFallbackMethodSecurityMetadataSource
Abstract implementation of
MethodSecurityMetadataSource that supports both Spring AOP and AspectJ and
performs attribute resolution from: 1. |
class |
AbstractMethodSecurityMetadataSource
Abstract implementation of MethodSecurityMetadataSource which resolves the secured object type to
a MethodInvocation.
|
class |
DelegatingMethodSecurityMetadataSource
Automatically tries a series of method definition sources, relying on the first source of metadata
that provides a non-null/non-empty response.
|
class |
MapBasedMethodSecurityMetadataSource
Stores a list of ConfigAttributes for a method or class signature.
|
Modifier and Type | Method and Description |
---|---|
List<MethodSecurityMetadataSource> |
DelegatingMethodSecurityMetadataSource.getMethodSecurityMetadataSources() |
Constructor and Description |
---|
DelegatingMethodSecurityMetadataSource(List<MethodSecurityMetadataSource> methodSecurityMetadataSources) |
Modifier and Type | Class and Description |
---|---|
class |
PrePostAnnotationSecurityMetadataSource
MethodSecurityMetadataSource which extracts metadata from the @PreFilter and @PreAuthorize annotations
placed on a method.
|
Copyright © 2015. All rights reserved.