dev@glassfish.java.net

Re: [v3] get DefaultCipherSuites() return empty array

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 25 Mar 2008 22:52:45 -0700

Might be a JDK config thing...

On Mar 25, 2008, at 10:30 PM, Anissa Lam wrote:
>
> I need to get the default cipherSuites thats supported in V3 to
> display to user in the Admin Console.
> This is how I did it in V2. When using the same JDK (1.5.0_13) on
> V2 returns 18 ciphers.
> The same code in V3 returns an empty String Array. Can someone tell
> me if this is a known issue or if i need to do something
> differently ?
>
> SSLServerSocketFactory factory =
> (SSLServerSocketFactory)SSLServerSocketFactory.getDefault();
> String[] supportedCiphers =
> factory.getDefaultCipherSuites();
>
> thanks
> Anissa.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc