You're right, i may have forgotten the applicationContextProvider bean
definition. For the serverManager, i'm astonished. I'll have a look.
Thanks for the feedback.

Frederic

On Wed, Jun 6, 2012 at 12:36 PM, Pavlos Drandakis <pdra...@gmail.com> wrote:

> Hello all,
>
> I was trying to enable openid support in CAS, by following these
> instructions [1], but I was getting the following NPE [2].
> In order to get around this issue I had to:
> 1) move serverManager bean definition in
> spring-configuration/applicationContext.xml
> 2) add to spring-configuration/applicationContext.xml the following bean
> definition <bean id="applicationContextProvider"
> class="org.jasig.cas.util.ApplicationContextProvider" />
>
> Is this the right approach?
>
> Thanks in advance,
> Pavlos
>
> P.S.: I am using the latest code found on github
>
>
> [1] https://wiki.jasig.org/display/CASUM/OpenID
> [2] SEVERE: Servlet.service() for servlet [cas] in context with path
> [/cas] threw exception [Request processing failed; nested exception is
> org.springframework.webflow.execution.ActionExecutionException: Exception
> thrown executing [AnnotatedAction@19ac6d9 targetAction =
> [EvaluateAction@74fb70 expression =
> flowScope.service.getResponse(requestScope.serviceTicketId),
> resultExpression = requestScope.response], attributes = map[[empty]]] in
> state 'redirect' of flow 'login' -- action execution attributes were
> 'map[[empty]]'] with root cause
> java.lang.NullPointerException
>     at
> org.jasig.cas.support.openid.authentication.principal.OpenIdService.getResponse(OpenIdService.java:85)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)...
>
> --
> You are currently subscribed to cas-dev@lists.jasig.org as: 
> esnault.frede...@gmail.com
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to