public class sun.security.jgss.LoginConfigImpl extends javax.security.auth.login.Configuration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.jgss.LoginConfigImpl
super_class: javax.security.auth.login.Configuration
{
private final javax.security.auth.login.Configuration config;
descriptor: Ljavax/security/auth/login/Configuration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.security.jgss.GSSCaller caller;
descriptor: Lsun/security/jgss/GSSCaller;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String mechName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final boolean HTTP_USE_GLOBAL_CREDS;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "gssloginconfig"
ldc "\t[GSS LoginConfigImpl]"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
1: putstatic sun.security.jgss.LoginConfigImpl.debug:Lsun/security/util/Debug;
2: ldc "http.use.global.creds"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
3: astore 0
start local 0 4: ldc "false"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
iconst_0
goto 6
StackMap locals: java.lang.String
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: putstatic sun.security.jgss.LoginConfigImpl.HTTP_USE_GLOBAL_CREDS:Z
end local 0 7: return
LocalVariableTable:
Start End Slot Name Signature
4 7 0 prop Ljava/lang/String;
public void <init>(sun.security.jgss.GSSCaller, org.ietf.jgss.Oid);
descriptor: (Lsun/security/jgss/GSSCaller;Lorg/ietf/jgss/Oid;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.security.auth.login.Configuration.<init>:()V
1: aload 0
aload 1
putfield sun.security.jgss.LoginConfigImpl.caller:Lsun/security/jgss/GSSCaller;
2: aload 2
getstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
ldc "krb5"
putfield sun.security.jgss.LoginConfigImpl.mechName:Ljava/lang/String;
4: goto 6
5: StackMap locals: sun.security.jgss.LoginConfigImpl sun.security.jgss.GSSCaller org.ietf.jgss.Oid
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 2
invokevirtual org.ietf.jgss.Oid.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
7: new sun.security.jgss.LoginConfigImpl$1
dup
aload 0
invokespecial sun.security.jgss.LoginConfigImpl$1.<init>:(Lsun/security/jgss/LoginConfigImpl;)V
8: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast javax.security.auth.login.Configuration
putfield sun.security.jgss.LoginConfigImpl.config:Ljavax/security/auth/login/Configuration;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/jgss/LoginConfigImpl;
0 10 1 caller Lsun/security/jgss/GSSCaller;
0 10 2 mech Lorg/ietf/jgss/Oid;
MethodParameters:
Name Flags
caller
mech
public javax.security.auth.login.AppConfigurationEntry[] getAppConfigurationEntry(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljavax/security/auth/login/AppConfigurationEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: ldc "OTHER"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
2: aconst_null
areturn
3: StackMap locals: javax.security.auth.login.AppConfigurationEntry[]
StackMap stack:
aconst_null
astore 3
start local 3 4: ldc "krb5"
aload 0
getfield sun.security.jgss.LoginConfigImpl.mechName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
5: aload 0
getfield sun.security.jgss.LoginConfigImpl.caller:Lsun/security/jgss/GSSCaller;
getstatic sun.security.jgss.GSSCaller.CALLER_INITIATE:Lsun/security/jgss/GSSCaller;
if_acmpne 11
6: iconst_2
anewarray java.lang.String
dup
iconst_0
7: ldc "com.sun.security.jgss.krb5.initiate"
aastore
dup
iconst_1
8: ldc "com.sun.security.jgss.initiate"
aastore
9: astore 3
10: goto 25
StackMap locals: java.lang.String[]
StackMap stack:
11: aload 0
getfield sun.security.jgss.LoginConfigImpl.caller:Lsun/security/jgss/GSSCaller;
getstatic sun.security.jgss.GSSCaller.CALLER_ACCEPT:Lsun/security/jgss/GSSCaller;
if_acmpne 17
12: iconst_2
anewarray java.lang.String
dup
iconst_0
13: ldc "com.sun.security.jgss.krb5.accept"
aastore
dup
iconst_1
14: ldc "com.sun.security.jgss.accept"
aastore
15: astore 3
16: goto 25
StackMap locals:
StackMap stack:
17: aload 0
getfield sun.security.jgss.LoginConfigImpl.caller:Lsun/security/jgss/GSSCaller;
instanceof sun.security.jgss.HttpCaller
ifeq 22
18: iconst_1
anewarray java.lang.String
dup
iconst_0
19: ldc "com.sun.security.jgss.krb5.initiate"
aastore
20: astore 3
21: goto 25
StackMap locals:
StackMap stack:
22: aload 0
getfield sun.security.jgss.LoginConfigImpl.caller:Lsun/security/jgss/GSSCaller;
getstatic sun.security.jgss.GSSCaller.CALLER_UNKNOWN:Lsun/security/jgss/GSSCaller;
if_acmpne 25
23: new java.lang.AssertionError
dup
ldc "caller not defined"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
24: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 0
getfield sun.security.jgss.LoginConfigImpl.mechName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 37
StackMap locals: sun.security.jgss.LoginConfigImpl java.lang.String javax.security.auth.login.AppConfigurationEntry[] java.lang.String[] top int int java.lang.String[]
StackMap stack:
26: aload 7
iload 5
aaload
astore 4
start local 4 27: aload 0
getfield sun.security.jgss.LoginConfigImpl.config:Ljavax/security/auth/login/Configuration;
aload 4
invokevirtual javax.security.auth.login.Configuration.getAppConfigurationEntry:(Ljava/lang/String;)[Ljavax/security/auth/login/AppConfigurationEntry;
astore 2
28: getstatic sun.security.jgss.LoginConfigImpl.debug:Lsun/security/util/Debug;
ifnull 34
29: getstatic sun.security.jgss.LoginConfigImpl.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Trying "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: aload 2
ifnonnull 31
ldc ": does not exist."
goto 32
StackMap locals: sun.security.jgss.LoginConfigImpl java.lang.String javax.security.auth.login.AppConfigurationEntry[] java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack: sun.security.util.Debug java.lang.StringBuilder
31: ldc ": Found!"
StackMap locals: sun.security.jgss.LoginConfigImpl java.lang.String javax.security.auth.login.AppConfigurationEntry[] java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack: sun.security.util.Debug java.lang.StringBuilder java.lang.String
32: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
34: StackMap locals:
StackMap stack:
aload 2
ifnull 36
35: goto 38
end local 4 36: StackMap locals: sun.security.jgss.LoginConfigImpl java.lang.String javax.security.auth.login.AppConfigurationEntry[] java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
37: iload 5
iload 6
if_icmplt 26
38: StackMap locals: sun.security.jgss.LoginConfigImpl java.lang.String javax.security.auth.login.AppConfigurationEntry[] java.lang.String[]
StackMap stack:
aload 2
ifnonnull 42
39: getstatic sun.security.jgss.LoginConfigImpl.debug:Lsun/security/util/Debug;
ifnull 41
40: getstatic sun.security.jgss.LoginConfigImpl.debug:Lsun/security/util/Debug;
ldc "Cannot read JGSS entry, use default values instead."
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
41: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.jgss.LoginConfigImpl.getDefaultConfigurationEntry:()[Ljavax/security/auth/login/AppConfigurationEntry;
astore 2
42: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lsun/security/jgss/LoginConfigImpl;
0 43 1 name Ljava/lang/String;
1 43 2 entries [Ljavax/security/auth/login/AppConfigurationEntry;
4 43 3 alts [Ljava/lang/String;
27 36 4 alt Ljava/lang/String;
MethodParameters:
Name Flags
name
private javax.security.auth.login.AppConfigurationEntry[] getDefaultConfigurationEntry();
descriptor: ()[Ljavax/security/auth/login/AppConfigurationEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=2, args_size=1
start local 0 0: new java.util.HashMap
dup
iconst_2
invokespecial java.util.HashMap.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield sun.security.jgss.LoginConfigImpl.mechName:Ljava/lang/String;
ifnull 2
aload 0
getfield sun.security.jgss.LoginConfigImpl.mechName:Ljava/lang/String;
ldc "krb5"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
2: StackMap locals: java.util.HashMap
StackMap stack:
aload 0
getfield sun.security.jgss.LoginConfigImpl.caller:Lsun/security/jgss/GSSCaller;
invokestatic sun.security.jgss.LoginConfigImpl.isServerSide:(Lsun/security/jgss/GSSCaller;)Z
ifeq 9
3: aload 1
ldc "useKeyTab"
ldc "true"
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
ldc "storeKey"
ldc "true"
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 1
ldc "doNotPrompt"
ldc "true"
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 1
ldc "principal"
ldc "*"
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 1
ldc "isInitiator"
ldc "false"
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: goto 14
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jgss.LoginConfigImpl.caller:Lsun/security/jgss/GSSCaller;
instanceof sun.security.jgss.HttpCaller
ifeq 12
getstatic sun.security.jgss.LoginConfigImpl.HTTP_USE_GLOBAL_CREDS:Z
ifne 12
10: aload 1
ldc "useTicketCache"
ldc "false"
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: goto 13
12: StackMap locals:
StackMap stack:
aload 1
ldc "useTicketCache"
ldc "true"
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: StackMap locals:
StackMap stack:
aload 1
ldc "doNotPrompt"
ldc "false"
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.security.auth.login.AppConfigurationEntry
dup
iconst_0
15: new javax.security.auth.login.AppConfigurationEntry
dup
16: ldc "com.sun.security.auth.module.Krb5LoginModule"
17: getstatic javax.security.auth.login.AppConfigurationEntry$LoginModuleControlFlag.REQUIRED:Ljavax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag;
18: aload 1
19: invokespecial javax.security.auth.login.AppConfigurationEntry.<init>:(Ljava/lang/String;Ljavax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag;Ljava/util/Map;)V
aastore
20: areturn
21: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/security/jgss/LoginConfigImpl;
1 22 1 options Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
private static boolean isServerSide(sun.security.jgss.GSSCaller);
descriptor: (Lsun/security/jgss/GSSCaller;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.GSSCaller.CALLER_ACCEPT:Lsun/security/jgss/GSSCaller;
aload 0
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 caller Lsun/security/jgss/GSSCaller;
MethodParameters:
Name Flags
caller
}
SourceFile: "LoginConfigImpl.java"
NestMembers:
sun.security.jgss.LoginConfigImpl$1
InnerClasses:
public LoginModuleControlFlag = javax.security.auth.login.AppConfigurationEntry$LoginModuleControlFlag of javax.security.auth.login.AppConfigurationEntry
sun.security.jgss.LoginConfigImpl$1