[jboss-user] [JBoss Seam] - Re: Request Parameter not found

wsollers do-not-reply at jboss.com
Wed Sep 27 21:05:17 EDT 2006


Hmmm I tried @In as follows:

@In(value="javax.servlet.request.X509Certificate", scope=ScopeType.EVENT)

Use case was a Stateless Session Bean for logging on ( Hooking up Seam Auth stuff )

And injected value was null.

But:

FacesContext ctx = FacesContext.getCurrentInstance();
HttpServletRequest currentRequest = (HttpServletRequest) ctx.getExternalContext().getRequest();
userCerts3 = ( X509Certificate[] ) currentRequest.getAttribute( "javax.servlet.request.X509Certificate" );


Worked.

I will recheck my notes.

Thanks for the help. ( Still waiting for Lockheed to get the Dev support contract in place.)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974721#3974721

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974721



More information about the jboss-user mailing list