accessing CustomViewContext from mfa script

Jim Fox fox at washington.edu
Fri Jan 20 17:42:25 EST 2017


I can access the bean shibboleth.CustomViewContext from an MFA flow 
strategy script with

input.getSubcontext("net.shibboleth.idp.profile.context.SpringRequestContext").
   getRequestContext().
   getActiveFlow().
   getApplicationContext().
   getBean("shibboleth.CustomViewContext")

Is that the best way?  It seems like kind of a long path.
I've already used the 'customObject-ref' for another bean.

Jim



More information about the users mailing list