public final class com.sun.jndi.ldap.LdapPoolManager
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.ldap.LdapPoolManager
super_class: java.lang.Object
{
private static final java.lang.String DEBUG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.ldap.connect.pool.debug"
public static final boolean debug;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean trace;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String POOL_AUTH;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.ldap.connect.pool.authentication"
private static final java.lang.String POOL_PROTOCOL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.ldap.connect.pool.protocol"
private static final java.lang.String MAX_POOL_SIZE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.ldap.connect.pool.maxsize"
private static final java.lang.String PREF_POOL_SIZE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.ldap.connect.pool.prefsize"
private static final java.lang.String INIT_POOL_SIZE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.ldap.connect.pool.initsize"
private static final java.lang.String POOL_TIMEOUT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.ldap.connect.pool.timeout"
private static final java.lang.String SASL_CALLBACK;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.naming.security.sasl.callback"
private static final int DEFAULT_MAX_POOL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int DEFAULT_PREF_POOL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int DEFAULT_INIT_POOL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int DEFAULT_TIMEOUT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final java.lang.String DEFAULT_AUTH_MECHS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "none simple"
private static final java.lang.String DEFAULT_PROTOCOLS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "plain"
private static final int NONE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int SIMPLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int DIGEST;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final long idleTimeout;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int maxSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int prefSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int initSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static boolean supportPlainProtocol;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean supportSslProtocol;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final com.sun.jndi.ldap.pool.Pool[] pools;
descriptor: [Lcom/sun/jndi/ldap/pool/Pool;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=7, args_size=0
0: ldc "all"
ldc "com.sun.jndi.ldap.connect.pool.debug"
aconst_null
invokestatic com.sun.jndi.ldap.LdapPoolManager.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
1: putstatic com.sun.jndi.ldap.LdapPoolManager.debug:Z
2: getstatic com.sun.jndi.ldap.LdapPoolManager.debug:Z
ifne 5
3: ldc "fine"
ldc "com.sun.jndi.ldap.connect.pool.debug"
aconst_null
invokestatic com.sun.jndi.ldap.LdapPoolManager.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 5
4: iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: putstatic com.sun.jndi.ldap.LdapPoolManager.trace:Z
7: iconst_0
putstatic com.sun.jndi.ldap.LdapPoolManager.supportPlainProtocol:Z
8: iconst_0
putstatic com.sun.jndi.ldap.LdapPoolManager.supportSslProtocol:Z
9: iconst_3
anewarray com.sun.jndi.ldap.pool.Pool
putstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
10: ldc "com.sun.jndi.ldap.connect.pool.maxsize"
iconst_0
invokestatic com.sun.jndi.ldap.LdapPoolManager.getInteger:(Ljava/lang/String;I)I
putstatic com.sun.jndi.ldap.LdapPoolManager.maxSize:I
11: ldc "com.sun.jndi.ldap.connect.pool.prefsize"
iconst_0
invokestatic com.sun.jndi.ldap.LdapPoolManager.getInteger:(Ljava/lang/String;I)I
putstatic com.sun.jndi.ldap.LdapPoolManager.prefSize:I
12: ldc "com.sun.jndi.ldap.connect.pool.initsize"
iconst_1
invokestatic com.sun.jndi.ldap.LdapPoolManager.getInteger:(Ljava/lang/String;I)I
putstatic com.sun.jndi.ldap.LdapPoolManager.initSize:I
13: ldc "com.sun.jndi.ldap.connect.pool.timeout"
lconst_0
invokestatic com.sun.jndi.ldap.LdapPoolManager.getLong:(Ljava/lang/String;J)J
putstatic com.sun.jndi.ldap.LdapPoolManager.idleTimeout:J
14: ldc "com.sun.jndi.ldap.connect.pool.authentication"
ldc "none simple"
invokestatic com.sun.jndi.ldap.LdapPoolManager.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 15: new java.util.StringTokenizer
dup
aload 0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 16: aload 1
invokevirtual java.util.StringTokenizer.countTokens:()I
istore 2
start local 2 17: iconst_0
istore 5
start local 5 18: goto 26
19: StackMap locals: java.lang.String java.util.StringTokenizer int top top int
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
start local 3 20: aload 3
ldc "anonymous"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
21: ldc "none"
astore 3
22: StackMap locals: java.lang.String java.util.StringTokenizer int java.lang.String top int
StackMap stack:
aload 3
invokestatic com.sun.jndi.ldap.LdapPoolManager.findPool:(Ljava/lang/String;)I
istore 4
start local 4 23: iload 4
iflt 25
getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iload 4
aaload
ifnonnull 25
24: getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iload 4
new com.sun.jndi.ldap.pool.Pool
dup
getstatic com.sun.jndi.ldap.LdapPoolManager.initSize:I
getstatic com.sun.jndi.ldap.LdapPoolManager.prefSize:I
getstatic com.sun.jndi.ldap.LdapPoolManager.maxSize:I
invokespecial com.sun.jndi.ldap.pool.Pool.<init>:(III)V
aastore
25: StackMap locals: java.lang.String java.util.StringTokenizer int java.lang.String int int
StackMap stack:
iinc 5 1
end local 4 end local 3 StackMap locals: java.lang.String java.util.StringTokenizer int top top int
StackMap stack:
26: iload 5
iload 2
if_icmplt 19
end local 5 27: ldc "com.sun.jndi.ldap.connect.pool.protocol"
ldc "plain"
invokestatic com.sun.jndi.ldap.LdapPoolManager.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
28: new java.util.StringTokenizer
dup
aload 0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 1
29: aload 1
invokevirtual java.util.StringTokenizer.countTokens:()I
istore 2
30: iconst_0
istore 6
start local 6 31: goto 39
32: StackMap locals: java.lang.String java.util.StringTokenizer int top top top int
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 5
start local 5 33: ldc "plain"
aload 5
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 36
34: iconst_1
putstatic com.sun.jndi.ldap.LdapPoolManager.supportPlainProtocol:Z
35: goto 38
StackMap locals: java.lang.String java.util.StringTokenizer int top top java.lang.String int
StackMap stack:
36: ldc "ssl"
aload 5
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 38
37: iconst_1
putstatic com.sun.jndi.ldap.LdapPoolManager.supportSslProtocol:Z
38: StackMap locals:
StackMap stack:
iinc 6 1
end local 5 StackMap locals: java.lang.String java.util.StringTokenizer int top top top int
StackMap stack:
39: iload 6
iload 2
if_icmplt 32
end local 6 40: getstatic com.sun.jndi.ldap.LdapPoolManager.idleTimeout:J
lconst_0
lcmp
ifle 42
41: new com.sun.jndi.ldap.pool.PoolCleaner
dup
getstatic com.sun.jndi.ldap.LdapPoolManager.idleTimeout:J
getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
invokespecial com.sun.jndi.ldap.pool.PoolCleaner.<init>:(J[Lcom/sun/jndi/ldap/pool/Pool;)V
invokevirtual com.sun.jndi.ldap.pool.PoolCleaner.start:()V
42: StackMap locals: java.lang.String java.util.StringTokenizer int
StackMap stack:
getstatic com.sun.jndi.ldap.LdapPoolManager.debug:Z
ifeq 44
43: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokestatic com.sun.jndi.ldap.LdapPoolManager.showStats:(Ljava/io/PrintStream;)V
end local 2 end local 1 end local 0 44: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
15 44 0 str Ljava/lang/String;
16 44 1 parser Ljava/util/StringTokenizer;
17 44 2 count I
20 26 3 mech Ljava/lang/String;
23 26 4 p I
18 27 5 i I
33 39 5 proto Ljava/lang/String;
31 40 6 i I
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/ldap/LdapPoolManager;
private static int findPool(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "none"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
ldc "simple"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
ldc "digest-md5"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: iconst_2
ireturn
6: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 mech Ljava/lang/String;
MethodParameters:
Name Flags
mech
static boolean isPoolingAllowed(java.lang.String, java.io.OutputStream, java.lang.String, java.lang.String, java.util.Hashtable<?, ?>);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;Ljava/lang/String;Ljava/lang/String;Ljava/util/Hashtable;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 1
getstatic com.sun.jndi.ldap.LdapPoolManager.debug:Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 3
ifnonnull 2
getstatic com.sun.jndi.ldap.LdapPoolManager.supportPlainProtocol:Z
ifeq 3
2: StackMap locals:
StackMap stack:
ldc "ssl"
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
getstatic com.sun.jndi.ldap.LdapPoolManager.supportSslProtocol:Z
ifne 5
3: StackMap locals:
StackMap stack:
ldc "Pooling disallowed due to tracing or unsupported pooling of protocol"
invokestatic com.sun.jndi.ldap.LdapPoolManager.d:(Ljava/lang/String;)V
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
ldc "java.util.Comparator"
astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: aload 0
ifnull 25
8: aload 0
ldc "javax.net.ssl.SSLSocketFactory"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
9: getstatic com.sun.jndi.ldap.Obj.helper:Lcom/sun/jndi/ldap/VersionHelper;
aload 0
invokevirtual com.sun.jndi.ldap.VersionHelper.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 7
start local 7 10: aload 7
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
astore 8
start local 8 11: iconst_0
istore 9
start local 9 12: goto 16
13: StackMap locals: java.lang.String java.io.OutputStream java.lang.String java.lang.String java.util.Hashtable java.lang.String int java.lang.Class java.lang.Class[] int
StackMap stack:
aload 8
iload 9
aaload
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
14: iconst_1
istore 6
15: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
16: iload 9
aload 8
arraylength
if_icmplt 13
end local 9 end local 8 end local 7 17: goto 23
StackMap locals: java.lang.String java.io.OutputStream java.lang.String java.lang.String java.util.Hashtable java.lang.String int
StackMap stack: java.lang.Exception
18: astore 7
start local 7 19: new javax.naming.CommunicationException
dup
ldc "Loading the socket factory"
invokespecial javax.naming.CommunicationException.<init>:(Ljava/lang/String;)V
20: astore 8
start local 8 21: aload 8
aload 7
invokevirtual javax.naming.CommunicationException.setRootCause:(Ljava/lang/Throwable;)V
22: aload 8
athrow
end local 8 end local 7 23: StackMap locals:
StackMap stack:
iload 6
ifne 25
24: iconst_0
ireturn
25: StackMap locals:
StackMap stack:
aload 2
invokestatic com.sun.jndi.ldap.LdapPoolManager.findPool:(Ljava/lang/String;)I
istore 7
start local 7 26: iload 7
iflt 27
getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iload 7
aaload
ifnonnull 29
27: StackMap locals: int
StackMap stack:
ldc "authmech not found: "
aload 2
invokestatic com.sun.jndi.ldap.LdapPoolManager.d:(Ljava/lang/String;Ljava/lang/String;)V
28: iconst_0
ireturn
29: StackMap locals:
StackMap stack:
ldc "using authmech: "
aload 2
invokestatic com.sun.jndi.ldap.LdapPoolManager.d:(Ljava/lang/String;Ljava/lang/String;)V
30: iload 7
tableswitch { // 0 - 2
0: 31
1: 31
2: 32
default: 34
}
31: StackMap locals:
StackMap stack:
iconst_1
ireturn
32: StackMap locals:
StackMap stack:
aload 4
ifnull 33
aload 4
ldc "java.naming.security.sasl.callback"
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 33
iconst_0
ireturn
StackMap locals:
StackMap stack:
33: iconst_1
ireturn
34: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 socketFactory Ljava/lang/String;
0 35 1 trace Ljava/io/OutputStream;
0 35 2 authMech Ljava/lang/String;
0 35 3 protocol Ljava/lang/String;
0 35 4 env Ljava/util/Hashtable<**>;
6 35 5 COMPARATOR Ljava/lang/String;
7 35 6 foundSockCmp Z
10 17 7 socketFactoryClass Ljava/lang/Class<*>;
11 17 8 interfaces [Ljava/lang/Class;
12 17 9 i I
19 23 7 e Ljava/lang/Exception;
21 23 8 ce Ljavax/naming/CommunicationException;
26 35 7 p I
Exception table:
from to target type
9 17 18 Class java.lang.Exception
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/String;Ljava/io/OutputStream;Ljava/lang/String;Ljava/lang/String;Ljava/util/Hashtable<**>;)Z
MethodParameters:
Name Flags
socketFactory
trace
authMech
protocol
env
static com.sun.jndi.ldap.LdapClient getLdapClient(java.lang.String, int, java.lang.String, int, int, java.io.OutputStream, int, java.lang.String, javax.naming.ldap.Control[], java.lang.String, java.lang.String, , java.util.Hashtable<?, ?>);
descriptor: (Ljava/lang/String;ILjava/lang/String;IILjava/io/OutputStream;ILjava/lang/String;[Ljavax/naming/ldap/Control;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;Ljava/util/Hashtable;)Lcom/sun/jndi/ldap/LdapClient;
flags: (0x0008) ACC_STATIC
Code:
stack=12, locals=16, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aconst_null
astore 13
start local 13 1: aload 7
invokestatic com.sun.jndi.ldap.LdapPoolManager.findPool:(Ljava/lang/String;)I
istore 15
start local 15 2: iload 15
iflt 4
getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iload 15
aaload
dup
astore 14
start local 14 3: ifnonnull 9
end local 14 4: StackMap locals: java.lang.String int java.lang.String int int java.io.OutputStream int java.lang.String javax.naming.ldap.Control[] java.lang.String java.lang.String java.lang.Object java.util.Hashtable com.sun.jndi.ldap.ClientId top int
StackMap stack:
new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "Attempting to use pooling for an unsupported mechanism: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 14 9: StackMap locals: java.lang.String int java.lang.String int int java.io.OutputStream int java.lang.String javax.naming.ldap.Control[] java.lang.String java.lang.String java.lang.Object java.util.Hashtable com.sun.jndi.ldap.ClientId com.sun.jndi.ldap.pool.Pool int
StackMap stack:
iload 15
tableswitch { // 0 - 2
0: 10
1: 14
2: 18
default: 21
}
10: StackMap locals:
StackMap stack:
new com.sun.jndi.ldap.ClientId
dup
iload 6
aload 0
iload 1
aload 9
11: aload 8
aload 5
aload 2
12: invokespecial com.sun.jndi.ldap.ClientId.<init>:(ILjava/lang/String;ILjava/lang/String;[Ljavax/naming/ldap/Control;Ljava/io/OutputStream;Ljava/lang/String;)V
astore 13
13: goto 21
14: StackMap locals:
StackMap stack:
new com.sun.jndi.ldap.SimpleClientId
dup
iload 6
aload 0
iload 1
aload 9
15: aload 8
aload 5
aload 2
aload 10
aload 11
16: invokespecial com.sun.jndi.ldap.SimpleClientId.<init>:(ILjava/lang/String;ILjava/lang/String;[Ljavax/naming/ldap/Control;Ljava/io/OutputStream;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
astore 13
17: goto 21
18: StackMap locals:
StackMap stack:
new com.sun.jndi.ldap.DigestClientId
dup
iload 6
aload 0
iload 1
aload 9
19: aload 8
aload 5
aload 2
aload 10
aload 11
aload 12
20: invokespecial com.sun.jndi.ldap.DigestClientId.<init>:(ILjava/lang/String;ILjava/lang/String;[Ljavax/naming/ldap/Control;Ljava/io/OutputStream;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;Ljava/util/Hashtable;)V
astore 13
21: StackMap locals:
StackMap stack:
aload 14
aload 13
iload 3
i2l
22: new com.sun.jndi.ldap.LdapClientFactory
dup
aload 0
iload 1
aload 2
iload 3
23: iload 4
aload 5
24: invokespecial com.sun.jndi.ldap.LdapClientFactory.<init>:(Ljava/lang/String;ILjava/lang/String;IILjava/io/OutputStream;)V
25: invokevirtual com.sun.jndi.ldap.pool.Pool.getPooledConnection:(Ljava/lang/Object;JLcom/sun/jndi/ldap/pool/PooledConnectionFactory;)Lcom/sun/jndi/ldap/pool/PooledConnection;
checkcast com.sun.jndi.ldap.LdapClient
areturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 host Ljava/lang/String;
0 26 1 port I
0 26 2 socketFactory Ljava/lang/String;
0 26 3 connTimeout I
0 26 4 readTimeout I
0 26 5 trace Ljava/io/OutputStream;
0 26 6 version I
0 26 7 authMech Ljava/lang/String;
0 26 8 ctls [Ljavax/naming/ldap/Control;
0 26 9 protocol Ljava/lang/String;
0 26 10 user Ljava/lang/String;
0 26 11 passwd Ljava/lang/Object;
0 26 12 env Ljava/util/Hashtable<**>;
1 26 13 id Lcom/sun/jndi/ldap/ClientId;
3 4 14 pool Lcom/sun/jndi/ldap/pool/Pool;
9 26 14 pool Lcom/sun/jndi/ldap/pool/Pool;
2 26 15 p I
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/String;ILjava/lang/String;IILjava/io/OutputStream;ILjava/lang/String;[Ljavax/naming/ldap/Control;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;Ljava/util/Hashtable<**>;)Lcom/sun/jndi/ldap/LdapClient;
MethodParameters:
Name Flags
host
port
socketFactory
connTimeout
readTimeout
trace
version
authMech
ctls
protocol
user
passwd
env
public static void showStats(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "***** start *****"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 0
new java.lang.StringBuilder
dup
ldc "idle timeout: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.jndi.ldap.LdapPoolManager.idleTimeout:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 0
new java.lang.StringBuilder
dup
ldc "maximum pool size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.jndi.ldap.LdapPoolManager.maxSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: aload 0
new java.lang.StringBuilder
dup
ldc "preferred pool size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.jndi.ldap.LdapPoolManager.prefSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: aload 0
new java.lang.StringBuilder
dup
ldc "initial pool size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.jndi.ldap.LdapPoolManager.initSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 0
new java.lang.StringBuilder
dup
ldc "protocol types: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.jndi.ldap.LdapPoolManager.supportPlainProtocol:Z
ifeq 6
ldc "plain "
goto 7
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder
6: ldc ""
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
7: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: getstatic com.sun.jndi.ldap.LdapPoolManager.supportSslProtocol:Z
ifeq 9
ldc "ssl"
goto 10
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder
9: ldc ""
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
10: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: aload 0
new java.lang.StringBuilder
dup
ldc "authentication types: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iconst_0
aaload
ifnull 14
ldc "none "
goto 15
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder
14: ldc ""
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
15: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iconst_1
aaload
ifnull 17
ldc "simple "
goto 18
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder
17: ldc ""
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
18: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iconst_2
aaload
ifnull 20
ldc "DIGEST-MD5 "
goto 21
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder
20: ldc ""
StackMap locals: java.io.PrintStream
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
21: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
23: iconst_0
istore 1
start local 1 24: goto 37
25: StackMap locals: int
StackMap stack:
getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iload 1
aaload
ifnull 36
26: aload 0
27: new java.lang.StringBuilder
dup
iload 1
ifne 28
ldc "anonymous pools"
goto 31
28: StackMap locals: java.io.PrintStream int
StackMap stack: java.io.PrintStream new 27 new 27
iload 1
iconst_1
if_icmpne 29
ldc "simple auth pools"
goto 31
29: StackMap locals: java.io.PrintStream int
StackMap stack: java.io.PrintStream new 27 new 27
iload 1
iconst_2
if_icmpne 30
ldc "digest pools"
goto 31
StackMap locals: java.io.PrintStream int
StackMap stack: java.io.PrintStream new 27 new 27
30: ldc ""
StackMap locals: java.io.PrintStream int
StackMap stack: java.io.PrintStream new 27 new 27 java.lang.String
31: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
32: ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
33: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
34: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
35: getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iload 1
aaload
aload 0
invokevirtual com.sun.jndi.ldap.pool.Pool.showStats:(Ljava/io/PrintStream;)V
36: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
37: iload 1
getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
arraylength
if_icmplt 25
end local 1 38: aload 0
ldc "***** end *****"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
39: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 out Ljava/io/PrintStream;
24 38 1 i I
MethodParameters:
Name Flags
out
public static void expire(long);
descriptor: (J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iload 2
aaload
ifnull 4
3: getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
iload 2
aaload
lload 0
invokevirtual com.sun.jndi.ldap.pool.Pool.expire:(J)V
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
getstatic com.sun.jndi.ldap.LdapPoolManager.pools:[Lcom/sun/jndi/ldap/pool/Pool;
arraylength
if_icmplt 2
end local 2 6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 threshold J
1 6 2 i I
MethodParameters:
Name Flags
threshold
private static void d(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic com.sun.jndi.ldap.LdapPoolManager.debug:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "LdapPoolManager: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
private static void d(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.jndi.ldap.LdapPoolManager.debug:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "LdapPoolManager: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msg Ljava/lang/String;
0 3 1 o Ljava/lang/String;
MethodParameters:
Name Flags
msg
o
private static final java.lang.String getProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.jndi.ldap.LdapPoolManager$1
dup
aload 0
aload 1
invokespecial com.sun.jndi.ldap.LdapPoolManager$1.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 propName Ljava/lang/String;
0 2 1 defVal Ljava/lang/String;
MethodParameters:
Name Flags
propName final
defVal final
private static final int getInteger(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new com.sun.jndi.ldap.LdapPoolManager$2
dup
aload 0
iload 1
invokespecial com.sun.jndi.ldap.LdapPoolManager$2.<init>:(Ljava/lang/String;I)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 propName Ljava/lang/String;
0 3 1 defVal I
2 3 2 val Ljava/lang/Integer;
MethodParameters:
Name Flags
propName final
defVal final
private static final long getLong(java.lang.String, long);
descriptor: (Ljava/lang/String;J)J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new com.sun.jndi.ldap.LdapPoolManager$3
dup
aload 0
lload 1
invokespecial com.sun.jndi.ldap.LdapPoolManager$3.<init>:(Ljava/lang/String;J)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Long
astore 3
start local 3 2: aload 3
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 propName Ljava/lang/String;
0 3 1 defVal J
2 3 3 val Ljava/lang/Long;
MethodParameters:
Name Flags
propName final
defVal final
}
SourceFile: "LdapPoolManager.java"
NestMembers:
com.sun.jndi.ldap.LdapPoolManager$1 com.sun.jndi.ldap.LdapPoolManager$2 com.sun.jndi.ldap.LdapPoolManager$3
InnerClasses:
com.sun.jndi.ldap.LdapPoolManager$1
com.sun.jndi.ldap.LdapPoolManager$2
com.sun.jndi.ldap.LdapPoolManager$3