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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to