Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.1.2
-
None
-
Unknown
Description
The setters and the property name do not match for the following:
Class: org.apache.cxf.rs.security.oauth2.services.AbstractAccessTokenValidator
Property:
private List<AccessTokenValidator> tokenHandlers = Collections.emptyList();
Setter(s):
public void setTokenValidator(AccessTokenValidator validator) { setTokenValidators(Collections.singletonList(validator)); } public void setTokenValidators(List<AccessTokenValidator> validators) { tokenHandlers = validators; for (AccessTokenValidator handler : validators) { supportedSchemes.addAll(handler.getSupportedAuthorizationSchemes()); } }
This means you cannot set the property via the XML, although you should still be able to override the class, set the property, and reference the new class in the XML.