public class AnnotationParameterNameDiscoverer extends Object implements org.springframework.core.ParameterNameDiscoverer
Annotation
instances. This is useful when needing to discover the
parameter names of interfaces with Spring Security's method level security.
For example, consider the following:
import org.springframework.security.access.method.P;
DefaultSecurityParameterNameDiscoverer
Constructor and Description |
---|
AnnotationParameterNameDiscoverer(Set<String> annotationClassesToUse) |
AnnotationParameterNameDiscoverer(String... annotationClassToUse) |
Modifier and Type | Method and Description |
---|---|
String[] |
getParameterNames(Constructor<?> constructor) |
String[] |
getParameterNames(Method method) |
public AnnotationParameterNameDiscoverer(String... annotationClassToUse)
public String[] getParameterNames(Method method)
getParameterNames
in interface org.springframework.core.ParameterNameDiscoverer
public String[] getParameterNames(Constructor<?> constructor)
getParameterNames
in interface org.springframework.core.ParameterNameDiscoverer
Copyright © 2019. All rights reserved.