Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[iWS4.0SP5][SSL][Servlet] req.getAttributeNames() returns null

1 view
Skip to first unread message

Julio Rubio Pons

unread,
Sep 14, 2000, 3:00:00 AM9/14/00
to
Hello,

I am trying to get client's certificate of a SSL connexion with
certificate client authentication. I am using a Servlet and an
iWS4.0SP5.

According to the documentation
(http://java.sun.com/products/servlet/2.1/api/javax.servlet.ServletRequest.html)
this can be done calling the method ServletRequest.getAttributeNames(),
but this RETURNS null!!!

(Note: Other methods like getAuthType() and getContentType() also return
null)

With the same objective I have tested a CGI and the client certificate
is in the variable CLIENT_CERT (Note: this needs modifications in
obj.conf), so I think the question is related with the Servlet engine.

Also, I have tested successfully the same Servlet in a iWS4.1.

Due to other reasons we should use iWS version 4.0.

Does anyone know if this is a misconfiguration or either a bug in this
release of iWS????

Thanks!!

-- Julio Rubio Pons
-- E-mail: julio...@satec.es

0 new messages