public class sun.security.jgss.GSSUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.jgss.GSSUtil
super_class: java.lang.Object
{
public static final org.ietf.jgss.Oid GSS_KRB5_MECH_OID;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.ietf.jgss.Oid GSS_KRB5_MECH_OID2;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.ietf.jgss.Oid GSS_KRB5_MECH_OID_MS;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.ietf.jgss.Oid GSS_SPNEGO_MECH_OID;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.ietf.jgss.Oid NT_GSS_KRB5_PRINCIPAL;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String DEFAULT_HANDLER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "auth.login.defaultCallbackHandler"
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lsun/security/jgss/GSSUtil;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.security.jgss.GSSUtil.$assertionsDisabled:Z
3: ldc "1.2.840.113554.1.2.2"
invokestatic sun.security.jgss.GSSUtil.createOid:(Ljava/lang/String;)Lorg/ietf/jgss/Oid;
4: putstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID:Lorg/ietf/jgss/Oid;
5: ldc "1.3.5.1.5.2"
invokestatic sun.security.jgss.GSSUtil.createOid:(Ljava/lang/String;)Lorg/ietf/jgss/Oid;
6: putstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID2:Lorg/ietf/jgss/Oid;
7: ldc "1.2.840.48018.1.2.2"
invokestatic sun.security.jgss.GSSUtil.createOid:(Ljava/lang/String;)Lorg/ietf/jgss/Oid;
8: putstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID_MS:Lorg/ietf/jgss/Oid;
9: ldc "1.3.6.1.5.5.2"
invokestatic sun.security.jgss.GSSUtil.createOid:(Ljava/lang/String;)Lorg/ietf/jgss/Oid;
10: putstatic sun.security.jgss.GSSUtil.GSS_SPNEGO_MECH_OID:Lorg/ietf/jgss/Oid;
11: ldc "1.2.840.113554.1.2.2.1"
invokestatic sun.security.jgss.GSSUtil.createOid:(Ljava/lang/String;)Lorg/ietf/jgss/Oid;
12: putstatic sun.security.jgss.GSSUtil.NT_GSS_KRB5_PRINCIPAL:Lorg/ietf/jgss/Oid;
13: new sun.security.action.GetBooleanAction
dup
ldc "sun.security.jgss.debug"
invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
14: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
15: invokevirtual java.lang.Boolean.booleanValue:()Z
16: putstatic sun.security.jgss.GSSUtil.DEBUG:Z
17: return
LocalVariableTable:
Start End Slot Name Signature
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 Lsun/security/jgss/GSSUtil;
static void debug(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.GSSUtil.DEBUG:Z
ifeq 3
1: getstatic sun.security.jgss.GSSUtil.$assertionsDisabled:Z
ifne 2
aload 0
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public static org.ietf.jgss.Oid createOid(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/ietf/jgss/Oid;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.ietf.jgss.Oid
dup
aload 0
invokespecial org.ietf.jgss.Oid.<init>:(Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: org.ietf.jgss.GSSException
pop
3: new java.lang.StringBuilder
dup
ldc "Ignored invalid OID: "
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;
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
4: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 oidStr Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class org.ietf.jgss.GSSException
MethodParameters:
Name Flags
oidStr
public static boolean isSpNegoMech(org.ietf.jgss.Oid);
descriptor: (Lorg/ietf/jgss/Oid;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.GSSUtil.GSS_SPNEGO_MECH_OID:Lorg/ietf/jgss/Oid;
aload 0
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 oid Lorg/ietf/jgss/Oid;
MethodParameters:
Name Flags
oid
public static boolean isKerberosMech(org.ietf.jgss.Oid);
descriptor: (Lorg/ietf/jgss/Oid;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID:Lorg/ietf/jgss/Oid;
aload 0
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifne 4
1: getstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID2:Lorg/ietf/jgss/Oid;
aload 0
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifne 4
2: getstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID_MS:Lorg/ietf/jgss/Oid;
aload 0
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 oid Lorg/ietf/jgss/Oid;
MethodParameters:
Name Flags
oid
public static java.lang.String getMechStr(org.ietf.jgss.Oid);
descriptor: (Lorg/ietf/jgss/Oid;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.security.jgss.GSSUtil.isSpNegoMech:(Lorg/ietf/jgss/Oid;)Z
ifeq 2
1: ldc "SPNEGO"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.security.jgss.GSSUtil.isKerberosMech:(Lorg/ietf/jgss/Oid;)Z
ifeq 4
3: ldc "Kerberos V5"
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.ietf.jgss.Oid.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 oid Lorg/ietf/jgss/Oid;
MethodParameters:
Name Flags
oid
public static javax.security.auth.Subject getSubject(org.ietf.jgss.GSSName, org.ietf.jgss.GSSCredential);
descriptor: (Lorg/ietf/jgss/GSSName;Lorg/ietf/jgss/GSSCredential;)Ljavax/security/auth/Subject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
4: astore 5
start local 5 5: aload 0
instanceof sun.security.jgss.GSSNameImpl
ifeq 18
6: aload 0
checkcast sun.security.jgss.GSSNameImpl
7: getstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID:Lorg/ietf/jgss/Oid;
8: invokevirtual sun.security.jgss.GSSNameImpl.getElement:(Lorg/ietf/jgss/Oid;)Lsun/security/jgss/spi/GSSNameSpi;
astore 6
start local 6 9: aload 6
invokeinterface sun.security.jgss.spi.GSSNameSpi.toString:()Ljava/lang/String;
astore 7
start local 7 10: aload 6
instanceof sun.security.jgss.krb5.Krb5NameElement
ifeq 13
11: aload 6
checkcast sun.security.jgss.krb5.Krb5NameElement
invokevirtual sun.security.jgss.krb5.Krb5NameElement.getKrb5PrincipalName:()Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
12: astore 7
13: StackMap locals: org.ietf.jgss.GSSName org.ietf.jgss.GSSCredential java.util.HashSet java.util.HashSet java.util.Set java.util.Set sun.security.jgss.spi.GSSNameSpi java.lang.String
StackMap stack:
new javax.security.auth.kerberos.KerberosPrincipal
dup
aload 7
invokespecial javax.security.auth.kerberos.KerberosPrincipal.<init>:(Ljava/lang/String;)V
astore 8
start local 8 14: aload 5
aload 8
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 15: goto 18
StackMap locals: org.ietf.jgss.GSSName org.ietf.jgss.GSSCredential java.util.HashSet java.util.HashSet java.util.Set java.util.Set
StackMap stack: org.ietf.jgss.GSSException
16: astore 6
start local 6 17: new java.lang.StringBuilder
dup
ldc "Skipped name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " due to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
end local 6 18: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.jgss.GSSCredentialImpl
ifeq 23
19: aload 1
checkcast sun.security.jgss.GSSCredentialImpl
invokevirtual sun.security.jgss.GSSCredentialImpl.getElements:()Ljava/util/Set;
astore 4
20: new java.util.HashSet
dup
aload 4
invokeinterface java.util.Set.size:()I
invokespecial java.util.HashSet.<init>:(I)V
astore 2
21: aload 2
aload 4
invokestatic sun.security.jgss.GSSUtil.populateCredentials:(Ljava/util/Set;Ljava/util/Set;)V
22: goto 24
23: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
24: StackMap locals:
StackMap stack:
ldc "Created Subject with the following"
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
25: new java.lang.StringBuilder
dup
ldc "principals="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
26: new java.lang.StringBuilder
dup
ldc "public creds="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
27: new java.lang.StringBuilder
dup
ldc "private creds="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
28: new javax.security.auth.Subject
dup
iconst_0
aload 5
aload 3
29: aload 2
30: invokespecial javax.security.auth.Subject.<init>:(ZLjava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
areturn
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 31 0 name Lorg/ietf/jgss/GSSName;
0 31 1 creds Lorg/ietf/jgss/GSSCredential;
1 31 2 privCredentials Ljava/util/HashSet<Ljava/lang/Object;>;
2 31 3 pubCredentials Ljava/util/HashSet<Ljava/lang/Object;>;
3 31 4 gssCredentials Ljava/util/Set<Lsun/security/jgss/spi/GSSCredentialSpi;>;
5 31 5 krb5Principals Ljava/util/Set<Ljavax/security/auth/kerberos/KerberosPrincipal;>;
9 15 6 ne Lsun/security/jgss/spi/GSSNameSpi;
10 15 7 krbName Ljava/lang/String;
14 15 8 krbPrinc Ljavax/security/auth/kerberos/KerberosPrincipal;
17 18 6 ge Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
6 15 16 Class org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
creds
private static void populateCredentials(java.util.Set<java.lang.Object>, java.util.Set<?>);
descriptor: (Ljava/util/Set;Ljava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=13, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: goto 39
2: StackMap locals: java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 3: aload 2
instanceof sun.security.jgss.spnego.SpNegoCredElement
ifeq 5
4: aload 2
checkcast sun.security.jgss.spnego.SpNegoCredElement
invokevirtual sun.security.jgss.spnego.SpNegoCredElement.getInternalCred:()Lsun/security/jgss/spi/GSSCredentialSpi;
astore 2
5: StackMap locals: java.util.Set java.util.Set java.lang.Object java.util.Iterator
StackMap stack:
aload 2
instanceof javax.security.auth.kerberos.KerberosTicket
ifeq 25
6: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
7: ldc "javax.security.auth.kerberos.KerberosTicket"
8: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
9: ifne 23
10: aload 2
checkcast javax.security.auth.kerberos.KerberosTicket
astore 4
start local 4 11: new javax.security.auth.kerberos.KerberosTicket
dup
aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getEncoded:()[B
12: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getClient:()Ljavax/security/auth/kerberos/KerberosPrincipal;
13: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getServer:()Ljavax/security/auth/kerberos/KerberosPrincipal;
14: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getSessionKey:()Ljavax/crypto/SecretKey;
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
15: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getSessionKeyType:()I
16: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getFlags:()[Z
17: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getAuthTime:()Ljava/util/Date;
18: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getStartTime:()Ljava/util/Date;
19: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getEndTime:()Ljava/util/Date;
20: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getRenewTill:()Ljava/util/Date;
21: aload 4
invokevirtual javax.security.auth.kerberos.KerberosTicket.getClientAddresses:()[Ljava/net/InetAddress;
22: invokespecial javax.security.auth.kerberos.KerberosTicket.<init>:([BLjavax/security/auth/kerberos/KerberosPrincipal;Ljavax/security/auth/kerberos/KerberosPrincipal;[BI[ZLjava/util/Date;Ljava/util/Date;Ljava/util/Date;Ljava/util/Date;[Ljava/net/InetAddress;)V
astore 2
end local 4 23: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
24: goto 39
StackMap locals:
StackMap stack:
25: aload 2
instanceof javax.security.auth.kerberos.KerberosKey
ifeq 38
26: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
27: ldc "javax.security.auth.kerberos.KerberosKey"
28: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
29: ifne 36
30: aload 2
checkcast javax.security.auth.kerberos.KerberosKey
astore 4
start local 4 31: new javax.security.auth.kerberos.KerberosKey
dup
aload 4
invokevirtual javax.security.auth.kerberos.KerberosKey.getPrincipal:()Ljavax/security/auth/kerberos/KerberosPrincipal;
32: aload 4
invokevirtual javax.security.auth.kerberos.KerberosKey.getEncoded:()[B
33: aload 4
invokevirtual javax.security.auth.kerberos.KerberosKey.getKeyType:()I
34: aload 4
invokevirtual javax.security.auth.kerberos.KerberosKey.getVersionNumber:()I
35: invokespecial javax.security.auth.kerberos.KerberosKey.<init>:(Ljavax/security/auth/kerberos/KerberosPrincipal;[BII)V
astore 2
end local 4 36: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
37: goto 39
38: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Skipped cred element: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
end local 2 39: StackMap locals: java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
40: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 credentials Ljava/util/Set<Ljava/lang/Object;>;
0 41 1 gssCredentials Ljava/util/Set<*>;
3 39 2 cred Ljava/lang/Object;
1 41 3 elements Ljava/util/Iterator<*>;
11 23 4 tempTkt Ljavax/security/auth/kerberos/KerberosTicket;
31 36 4 tempKey Ljavax/security/auth/kerberos/KerberosKey;
Signature: (Ljava/util/Set<Ljava/lang/Object;>;Ljava/util/Set<*>;)V
MethodParameters:
Name Flags
credentials
gssCredentials
public static javax.security.auth.Subject login(sun.security.jgss.GSSCaller, org.ietf.jgss.Oid);
descriptor: (Lsun/security/jgss/GSSCaller;Lorg/ietf/jgss/Oid;)Ljavax/security/auth/Subject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
instanceof sun.security.jgss.HttpCaller
ifeq 6
2: new sun.net.www.protocol.http.spnego.NegotiateCallbackHandler
dup
3: aload 0
checkcast sun.security.jgss.HttpCaller
invokevirtual sun.security.jgss.HttpCaller.info:()Lsun/net/www/protocol/http/HttpCallerInfo;
4: invokespecial sun.net.www.protocol.http.spnego.NegotiateCallbackHandler.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;)V
astore 2
5: goto 12
6: StackMap locals: javax.security.auth.callback.CallbackHandler
StackMap stack:
ldc "auth.login.defaultCallbackHandler"
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
7: astore 3
start local 3 8: aload 3
ifnull 11
aload 3
invokevirtual java.lang.String.length:()I
ifeq 11
9: aconst_null
astore 2
10: goto 12
11: StackMap locals: java.lang.String
StackMap stack:
new com.sun.security.auth.callback.TextCallbackHandler
dup
invokespecial com.sun.security.auth.callback.TextCallbackHandler.<init>:()V
astore 2
end local 3 12: StackMap locals:
StackMap stack:
new javax.security.auth.login.LoginContext
dup
ldc ""
aconst_null
aload 2
13: new sun.security.jgss.LoginConfigImpl
dup
aload 0
aload 1
invokespecial sun.security.jgss.LoginConfigImpl.<init>:(Lsun/security/jgss/GSSCaller;Lorg/ietf/jgss/Oid;)V
14: invokespecial javax.security.auth.login.LoginContext.<init>:(Ljava/lang/String;Ljavax/security/auth/Subject;Ljavax/security/auth/callback/CallbackHandler;Ljavax/security/auth/login/Configuration;)V
astore 3
start local 3 15: aload 3
invokevirtual javax.security.auth.login.LoginContext.login:()V
16: aload 3
invokevirtual javax.security.auth.login.LoginContext.getSubject:()Ljavax/security/auth/Subject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 caller Lsun/security/jgss/GSSCaller;
0 17 1 mech Lorg/ietf/jgss/Oid;
1 17 2 cb Ljavax/security/auth/callback/CallbackHandler;
8 12 3 defaultHandler Ljava/lang/String;
15 17 3 lc Ljavax/security/auth/login/LoginContext;
Exceptions:
throws javax.security.auth.login.LoginException
MethodParameters:
Name Flags
caller
mech
public static boolean useSubjectCredsOnly(sun.security.jgss.GSSCaller);
descriptor: (Lsun/security/jgss/GSSCaller;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc "javax.security.auth.useSubjectCredsOnly"
1: invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 2: aload 0
instanceof sun.security.jgss.HttpCaller
ifeq 4
3: ldc "true"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
4: StackMap locals: java.lang.String
StackMap stack:
ldc "false"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 caller Lsun/security/jgss/GSSCaller;
2 7 1 propValue Ljava/lang/String;
MethodParameters:
Name Flags
caller
public static boolean useMSInterop();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "sun.security.spnego.msinterop"
1: ldc "true"
2: invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 4: aload 0
ldc "false"
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: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
4 7 0 propValue Ljava/lang/String;
public static <T extends sun.security.jgss.spi.GSSCredentialSpi> java.util.Vector<T> searchSubject(sun.security.jgss.spi.GSSNameSpi, org.ietf.jgss.Oid, boolean, java.lang.Class<? extends T>);
descriptor: (Lsun/security/jgss/spi/GSSNameSpi;Lorg/ietf/jgss/Oid;ZLjava/lang/Class;)Ljava/util/Vector;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "Search Subject for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic sun.security.jgss.GSSUtil.getMechStr:(Lorg/ietf/jgss/Oid;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: iload 2
ifeq 2
ldc " INIT"
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: ldc " ACCEPT"
StackMap locals: sun.security.jgss.spi.GSSNameSpi org.ietf.jgss.Oid int java.lang.Class
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " cred ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
ifnonnull 5
ldc "<<DEF>>"
goto 6
StackMap locals:
StackMap stack: java.lang.StringBuilder
5: aload 0
invokeinterface sun.security.jgss.spi.GSSNameSpi.toString:()Ljava/lang/String;
StackMap locals: sun.security.jgss.spi.GSSNameSpi org.ietf.jgss.Oid int java.lang.Class
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
9: invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 4
start local 4 10: new sun.security.jgss.GSSUtil$1
dup
aload 4
aload 1
iload 2
aload 3
aload 0
invokespecial sun.security.jgss.GSSUtil$1.<init>:(Ljava/security/AccessControlContext;Lorg/ietf/jgss/Oid;ZLjava/lang/Class;Lsun/security/jgss/spi/GSSNameSpi;)V
11: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.util.Vector
12: astore 5
start local 5 13: aload 5
14: areturn
end local 5 15: StackMap locals: sun.security.jgss.spi.GSSNameSpi org.ietf.jgss.Oid int java.lang.Class java.security.AccessControlContext
StackMap stack: java.security.PrivilegedActionException
astore 5
start local 5 16: ldc "Unexpected exception when searching Subject:"
invokestatic sun.security.jgss.GSSUtil.debug:(Ljava/lang/String;)V
17: getstatic sun.security.jgss.GSSUtil.DEBUG:Z
ifeq 18
aload 5
invokevirtual java.security.PrivilegedActionException.printStackTrace:()V
18: StackMap locals: java.security.PrivilegedActionException
StackMap stack:
aconst_null
areturn
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 name Lsun/security/jgss/spi/GSSNameSpi;
0 19 1 mech Lorg/ietf/jgss/Oid;
0 19 2 initiate Z
0 19 3 credCls Ljava/lang/Class<+TT;>;
10 19 4 acc Ljava/security/AccessControlContext;
13 15 5 creds Ljava/util/Vector<TT;>;
16 19 5 pae Ljava/security/PrivilegedActionException;
Exception table:
from to target type
10 14 15 Class java.security.PrivilegedActionException
Signature: <T::Lsun/security/jgss/spi/GSSCredentialSpi;>(Lsun/security/jgss/spi/GSSNameSpi;Lorg/ietf/jgss/Oid;ZLjava/lang/Class<+TT;>;)Ljava/util/Vector<TT;>;
MethodParameters:
Name Flags
name final
mech final
initiate final
credCls final
}
SourceFile: "GSSUtil.java"
NestMembers:
sun.security.jgss.GSSUtil$1
InnerClasses:
sun.security.jgss.GSSUtil$1