public class DefaultSecurityParameterNameDiscoverer extends PrioritizedParameterNameDiscoverer
ParameterNameDiscoverer
which tries a number of
ParameterNameDiscoverer
depending on what is found on the classpath.
AnnotationParameterNameDiscoverer
with P
as
a valid annotation. If, Spring Data is on the classpath will also add Param annotation.
LocalVariableTableParameterNameDiscoverer
.LocalVariableTableParameterNameDiscoverer
is added directly.AnnotationParameterNameDiscoverer
Constructor and Description |
---|
DefaultSecurityParameterNameDiscoverer()
Creates a new instance with only the default
ParameterNameDiscoverer
instances. |
DefaultSecurityParameterNameDiscoverer(List<? extends ParameterNameDiscoverer> parameterNameDiscovers)
Creates a new instance that first tries the passed in
ParameterNameDiscoverer instances. |
addDiscoverer, getParameterNames, getParameterNames
public DefaultSecurityParameterNameDiscoverer()
ParameterNameDiscoverer
instances.public DefaultSecurityParameterNameDiscoverer(List<? extends ParameterNameDiscoverer> parameterNameDiscovers)
ParameterNameDiscoverer
instances.parameterNameDiscovers
- the ParameterNameDiscoverer
before trying the
defaults. Cannot be null.