public abstract class java.net.Authenticator
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.net.Authenticator
super_class: java.lang.Object
{
private static java.net.Authenticator theAuthenticator;
descriptor: Ljava/net/Authenticator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.String requestingHost;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.net.InetAddress requestingSite;
descriptor: Ljava/net/InetAddress;
flags: (0x0002) ACC_PRIVATE
private int requestingPort;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String requestingProtocol;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String requestingPrompt;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String requestingScheme;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.net.URL requestingURL;
descriptor: Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
private java.net.Authenticator$RequestorType requestingAuthType;
descriptor: Ljava/net/Authenticator$RequestorType;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
private void reset();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield java.net.Authenticator.requestingHost:Ljava/lang/String;
1: aload 0
aconst_null
putfield java.net.Authenticator.requestingSite:Ljava/net/InetAddress;
2: aload 0
iconst_m1
putfield java.net.Authenticator.requestingPort:I
3: aload 0
aconst_null
putfield java.net.Authenticator.requestingProtocol:Ljava/lang/String;
4: aload 0
aconst_null
putfield java.net.Authenticator.requestingPrompt:Ljava/lang/String;
5: aload 0
aconst_null
putfield java.net.Authenticator.requestingScheme:Ljava/lang/String;
6: aload 0
aconst_null
putfield java.net.Authenticator.requestingURL:Ljava/net/URL;
7: aload 0
getstatic java.net.Authenticator$RequestorType.SERVER:Ljava/net/Authenticator$RequestorType;
putfield java.net.Authenticator.requestingAuthType:Ljava/net/Authenticator$RequestorType;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/net/Authenticator;
public static synchronized void setDefault(java.net.Authenticator);
descriptor: (Ljava/net/Authenticator;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 5
2: new java.net.NetPermission
dup
ldc "setDefaultAuthenticator"
invokespecial java.net.NetPermission.<init>:(Ljava/lang/String;)V
3: astore 2
start local 2 4: aload 1
aload 2
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
end local 2 5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic java.net.Authenticator.theAuthenticator:Ljava/net/Authenticator;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 a Ljava/net/Authenticator;
1 7 1 sm Ljava/lang/SecurityManager;
4 5 2 setDefaultPermission Ljava/net/NetPermission;
MethodParameters:
Name Flags
a
public static java.net.PasswordAuthentication requestPasswordAuthentication(java.net.InetAddress, int, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/PasswordAuthentication;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 5
start local 5 1: aload 5
ifnull 5
2: new java.net.NetPermission
dup
ldc "requestPasswordAuthentication"
invokespecial java.net.NetPermission.<init>:(Ljava/lang/String;)V
3: astore 6
start local 6 4: aload 5
aload 6
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
end local 6 5: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.net.Authenticator.theAuthenticator:Ljava/net/Authenticator;
astore 6
start local 6 6: aload 6
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals: java.net.Authenticator
StackMap stack:
aload 6
dup
astore 7
monitorenter
9: aload 6
invokevirtual java.net.Authenticator.reset:()V
10: aload 6
aload 0
putfield java.net.Authenticator.requestingSite:Ljava/net/InetAddress;
11: aload 6
iload 1
putfield java.net.Authenticator.requestingPort:I
12: aload 6
aload 2
putfield java.net.Authenticator.requestingProtocol:Ljava/lang/String;
13: aload 6
aload 3
putfield java.net.Authenticator.requestingPrompt:Ljava/lang/String;
14: aload 6
aload 4
putfield java.net.Authenticator.requestingScheme:Ljava/lang/String;
15: aload 6
invokevirtual java.net.Authenticator.getPasswordAuthentication:()Ljava/net/PasswordAuthentication;
aload 7
monitorexit
16: areturn
17: StackMap locals: java.net.InetAddress int java.lang.String java.lang.String java.lang.String java.lang.SecurityManager java.net.Authenticator java.net.Authenticator
StackMap stack: java.lang.Throwable
aload 7
monitorexit
18: athrow
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 19 0 addr Ljava/net/InetAddress;
0 19 1 port I
0 19 2 protocol Ljava/lang/String;
0 19 3 prompt Ljava/lang/String;
0 19 4 scheme Ljava/lang/String;
1 19 5 sm Ljava/lang/SecurityManager;
4 5 6 requestPermission Ljava/net/NetPermission;
6 19 6 a Ljava/net/Authenticator;
Exception table:
from to target type
9 16 17 any
17 18 17 any
MethodParameters:
Name Flags
addr
port
protocol
prompt
scheme
public static java.net.PasswordAuthentication requestPasswordAuthentication(java.lang.String, java.net.InetAddress, int, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/PasswordAuthentication;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 6
start local 6 1: aload 6
ifnull 5
2: new java.net.NetPermission
dup
ldc "requestPasswordAuthentication"
invokespecial java.net.NetPermission.<init>:(Ljava/lang/String;)V
3: astore 7
start local 7 4: aload 6
aload 7
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
end local 7 5: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.net.Authenticator.theAuthenticator:Ljava/net/Authenticator;
astore 7
start local 7 6: aload 7
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals: java.net.Authenticator
StackMap stack:
aload 7
dup
astore 8
monitorenter
9: aload 7
invokevirtual java.net.Authenticator.reset:()V
10: aload 7
aload 0
putfield java.net.Authenticator.requestingHost:Ljava/lang/String;
11: aload 7
aload 1
putfield java.net.Authenticator.requestingSite:Ljava/net/InetAddress;
12: aload 7
iload 2
putfield java.net.Authenticator.requestingPort:I
13: aload 7
aload 3
putfield java.net.Authenticator.requestingProtocol:Ljava/lang/String;
14: aload 7
aload 4
putfield java.net.Authenticator.requestingPrompt:Ljava/lang/String;
15: aload 7
aload 5
putfield java.net.Authenticator.requestingScheme:Ljava/lang/String;
16: aload 7
invokevirtual java.net.Authenticator.getPasswordAuthentication:()Ljava/net/PasswordAuthentication;
aload 8
monitorexit
17: areturn
18: StackMap locals: java.lang.String java.net.InetAddress int java.lang.String java.lang.String java.lang.String java.lang.SecurityManager java.net.Authenticator java.net.Authenticator
StackMap stack: java.lang.Throwable
aload 8
monitorexit
19: athrow
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 20 0 host Ljava/lang/String;
0 20 1 addr Ljava/net/InetAddress;
0 20 2 port I
0 20 3 protocol Ljava/lang/String;
0 20 4 prompt Ljava/lang/String;
0 20 5 scheme Ljava/lang/String;
1 20 6 sm Ljava/lang/SecurityManager;
4 5 7 requestPermission Ljava/net/NetPermission;
6 20 7 a Ljava/net/Authenticator;
Exception table:
from to target type
9 17 18 any
18 19 18 any
MethodParameters:
Name Flags
host
addr
port
protocol
prompt
scheme
public static java.net.PasswordAuthentication requestPasswordAuthentication(java.lang.String, java.net.InetAddress, int, java.lang.String, java.lang.String, java.lang.String, java.net.URL, java.net.Authenticator$RequestorType);
descriptor: (Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/PasswordAuthentication;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 8
start local 8 1: aload 8
ifnull 5
2: new java.net.NetPermission
dup
ldc "requestPasswordAuthentication"
invokespecial java.net.NetPermission.<init>:(Ljava/lang/String;)V
3: astore 9
start local 9 4: aload 8
aload 9
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
end local 9 5: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.net.Authenticator.theAuthenticator:Ljava/net/Authenticator;
astore 9
start local 9 6: aload 9
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals: java.net.Authenticator
StackMap stack:
aload 9
dup
astore 10
monitorenter
9: aload 9
invokevirtual java.net.Authenticator.reset:()V
10: aload 9
aload 0
putfield java.net.Authenticator.requestingHost:Ljava/lang/String;
11: aload 9
aload 1
putfield java.net.Authenticator.requestingSite:Ljava/net/InetAddress;
12: aload 9
iload 2
putfield java.net.Authenticator.requestingPort:I
13: aload 9
aload 3
putfield java.net.Authenticator.requestingProtocol:Ljava/lang/String;
14: aload 9
aload 4
putfield java.net.Authenticator.requestingPrompt:Ljava/lang/String;
15: aload 9
aload 5
putfield java.net.Authenticator.requestingScheme:Ljava/lang/String;
16: aload 9
aload 6
putfield java.net.Authenticator.requestingURL:Ljava/net/URL;
17: aload 9
aload 7
putfield java.net.Authenticator.requestingAuthType:Ljava/net/Authenticator$RequestorType;
18: aload 9
invokevirtual java.net.Authenticator.getPasswordAuthentication:()Ljava/net/PasswordAuthentication;
aload 10
monitorexit
19: areturn
20: StackMap locals: java.lang.String java.net.InetAddress int java.lang.String java.lang.String java.lang.String java.net.URL java.net.Authenticator$RequestorType java.lang.SecurityManager java.net.Authenticator java.net.Authenticator
StackMap stack: java.lang.Throwable
aload 10
monitorexit
21: athrow
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 22 0 host Ljava/lang/String;
0 22 1 addr Ljava/net/InetAddress;
0 22 2 port I
0 22 3 protocol Ljava/lang/String;
0 22 4 prompt Ljava/lang/String;
0 22 5 scheme Ljava/lang/String;
0 22 6 url Ljava/net/URL;
0 22 7 reqType Ljava/net/Authenticator$RequestorType;
1 22 8 sm Ljava/lang/SecurityManager;
4 5 9 requestPermission Ljava/net/NetPermission;
6 22 9 a Ljava/net/Authenticator;
Exception table:
from to target type
9 19 20 any
20 21 20 any
MethodParameters:
Name Flags
host
addr
port
protocol
prompt
scheme
url
reqType
protected final java.lang.String getRequestingHost();
descriptor: ()Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.Authenticator.requestingHost:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
protected final java.net.InetAddress getRequestingSite();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.Authenticator.requestingSite:Ljava/net/InetAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
protected final int getRequestingPort();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.Authenticator.requestingPort:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
protected final java.lang.String getRequestingProtocol();
descriptor: ()Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.Authenticator.requestingProtocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
protected final java.lang.String getRequestingPrompt();
descriptor: ()Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.Authenticator.requestingPrompt:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
protected final java.lang.String getRequestingScheme();
descriptor: ()Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.Authenticator.requestingScheme:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
protected java.net.PasswordAuthentication getPasswordAuthentication();
descriptor: ()Ljava/net/PasswordAuthentication;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
protected java.net.URL getRequestingURL();
descriptor: ()Ljava/net/URL;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.Authenticator.requestingURL:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
protected java.net.Authenticator$RequestorType getRequestorType();
descriptor: ()Ljava/net/Authenticator$RequestorType;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.Authenticator.requestingAuthType:Ljava/net/Authenticator$RequestorType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Authenticator;
}
SourceFile: "Authenticator.java"
NestMembers:
java.net.Authenticator$RequestorType
InnerClasses:
public final RequestorType = java.net.Authenticator$RequestorType of java.net.Authenticator