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

wsollers do-not-reply at jboss.com
Wed Sep 27 12:07:25 EDT 2006


Trying to do:

    @RequestParameter ( "javax.servlet.request.X509Certificate" )
    private X509Certificate[] userCerts;

And the cert is in the request:

Request key: javax.servlet.request.X509Certificate value: [Ljava.security.cert.X509Certificate;@155ec9f4 

But it is brought into my ejb3 as null...
            if ( userCerts == null ) {
                /* no certs no access */
                System.out.println ( "No client cert injected" );
                return "NO_CLIENT_CERTS";
            }

I always get the "No client cert injected" debug...

Any ideas what I did / am doing wrong?

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

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



More information about the jboss-user mailing list