users@glassfish.java.net
Re: Client Certificate authentication
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
glassfish_at_javadesktop.org
>
Date
: Fri, 15 Feb 2008 01:18:30 PST
I have asked our Java Experts and will get back if i hear from them. Meantime, IMO something like the following may work ( i have not testsed this)
you can write your own X509TrustManager (MyX509TrustManager) :
http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#X509TrustManager
And then in your WebApp init() you can do the following :
TrustManager[] myTMs = new TrustManager [] {
new MyX509TrustManager() };
SSLContext ctx = SSLContext.getInstance("TLS");
ctx.init(null, myTMs, null);
Thanks.
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]
http://forums.java.net/jive/thread.jspa?messageID=259144
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Validation Messages from Session Bean"
Previous message
:
glassfish_at_javadesktop.org: "Re: Persistence / JPA / TopLink: lost updates"
In reply to
:
glassfish_at_javadesktop.org: "Re: Client Certificate authentication"
Next in thread
:
glassfish_at_javadesktop.org: "Re: Client Certificate authentication"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]