I am currently using STS as a plugin inside of eclipse. I notice that it will locate and use an XSD on the classpath. When writing my spring config and trying to set up the Authorization Code grant type I found a problem.
This code works for me in eclipse, but it fails for my coworkers not using STS and our nightly ant build. This is because the XSD in the jar file for version 1.0.0.M6 in the milestones repo has the correct definition of the "authorization-code" element, while the reference to it via the header of the XML at http://www.springframework.org/schem...oauth2-1.0.xsd has the M5 version.Code:<oauth:authorization-server token-services-ref="authorizationServerTokenService" client-details-service-ref="clientDetailsService"> <oauth:authorization-code authorization-code-services-ref="authorizationCodeServices" /> </oauth:authorization-server>
Anything I can do, or should I just sit tight and wait for the XSD that spring exposes to be updated?


Reply With Quote