[mitreid-connect] Resource Owner password grant type

abhishek jain intelccdodemo at gmail.com
Sat Jun 11 10:04:55 EDT 2016


I added
<oauth:password /> to<oauth:authorization-server /> but getting the
following exception.

ERROR: org.springframework.web.context.ContextLoader - Context
initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from relative
location [authz-config.xml]
Offending resource: ServletContext resource
[/WEB-INF/application-context.xml]; nested exception is
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
50 in XML document from ServletContext resource [/WEB-INF/authz-config.xml]
is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber:
50; columnNumber: 21; cvc-complex-type.2.4.a: Invalid content was found
starting with element 'oauth:password'. One of '{"
http://www.springframework.org/schema/security/oauth2":custom-grant}' is
expected.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20160611/c30f75b2/attachment.html


More information about the mitreid-connect mailing list