Results 1 to 3 of 3

Thread: Error creating bean with name 'authorizationEndpoint'

  1. #1

    Default Error creating bean with name 'authorizationEndpoint'

    We are using spring-oauth2 1.0.0.BUILD-SNAPSHOT with spring security 3.1.0.RELEASE.
    Our configuration is almost identical to the one in sparklr project except that we use our custom implementation of authentication provider, successHandler , and failureHandler. Also we don't use <mvc:annotation-driven> , instead we use AnnotationHandlerMapping.
    During spring context initialization we get the following exception :
    Error creating bean with name 'authorizationEndpoint'
    java.lang.IllegalStateException : ClientDetailService must be provided.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    Stupid question: did you inject a ClientDetailsService into the endpoint (it's the client-details-service-ref="..." attribute in the <authorization-server/> element of the namespace)? Maybe you could post your configuration?

  3. #3

    Default

    I think earlier we got the same problem, migrating from M3 to M5.
    We had a config nearly identical to the one in sparklr2 but we got the same error. Unfortunately we hadn't solved that yet (due to some deadlines, but we will migrate to M5 ASAP) but doing some discovery in code and debugging i think this is related to our mvc configurations. but as Dave mentioned you could send your whole configuration.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •