public class sun.security.jgss.krb5.Krb5InitCredential extends javax.security.auth.kerberos.KerberosTicket implements sun.security.jgss.krb5.Krb5CredElement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.jgss.krb5.Krb5InitCredential
super_class: javax.security.auth.kerberos.KerberosTicket
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7723415700837898232
private sun.security.jgss.krb5.Krb5NameElement name;
descriptor: Lsun/security/jgss/krb5/Krb5NameElement;
flags: (0x0002) ACC_PRIVATE
private sun.security.krb5.Credentials krb5Credentials;
descriptor: Lsun/security/krb5/Credentials;
flags: (0x0002) ACC_PRIVATE
private void <init>(sun.security.jgss.krb5.Krb5NameElement, byte[], javax.security.auth.kerberos.KerberosPrincipal, javax.security.auth.kerberos.KerberosPrincipal, byte[], int, boolean[], java.util.Date, java.util.Date, java.util.Date, java.util.Date, java.net.InetAddress[]);
descriptor: (Lsun/security/jgss/krb5/Krb5NameElement;[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
flags: (0x0002) ACC_PRIVATE
Code:
stack=14, locals=14, 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: aload 0
aload 2
1: aload 3
2: aload 4
3: aload 5
4: iload 6
5: aload 7
6: aload 8
7: aload 9
8: aload 10
9: aload 11
10: aload 12
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
11: aload 0
aload 1
putfield sun.security.jgss.krb5.Krb5InitCredential.name:Lsun/security/jgss/krb5/Krb5NameElement;
12: aload 0
new sun.security.krb5.Credentials
dup
aload 2
13: aload 3
invokevirtual javax.security.auth.kerberos.KerberosPrincipal.getName:()Ljava/lang/String;
14: aload 4
invokevirtual javax.security.auth.kerberos.KerberosPrincipal.getName:()Ljava/lang/String;
15: aload 5
16: iload 6
17: aload 7
18: aload 8
19: aload 9
20: aload 10
21: aload 11
22: aload 12
invokespecial sun.security.krb5.Credentials.<init>:([BLjava/lang/String;Ljava/lang/String;[BI[ZLjava/util/Date;Ljava/util/Date;Ljava/util/Date;Ljava/util/Date;[Ljava/net/InetAddress;)V
23: putfield sun.security.jgss.krb5.Krb5InitCredential.krb5Credentials:Lsun/security/krb5/Credentials;
24: goto 33
StackMap locals: sun.security.jgss.krb5.Krb5InitCredential sun.security.jgss.krb5.Krb5NameElement byte[] javax.security.auth.kerberos.KerberosPrincipal javax.security.auth.kerberos.KerberosPrincipal byte[] int boolean[] java.util.Date java.util.Date java.util.Date java.util.Date java.net.InetAddress[]
StackMap stack: sun.security.krb5.KrbException
25: astore 13
start local 13 26: new org.ietf.jgss.GSSException
dup
bipush 13
iconst_m1
27: aload 13
invokevirtual sun.security.krb5.KrbException.getMessage:()Ljava/lang/String;
28: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 13 29: StackMap locals:
StackMap stack: java.io.IOException
astore 13
start local 13 30: new org.ietf.jgss.GSSException
dup
bipush 13
iconst_m1
31: aload 13
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
32: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 13 33: StackMap locals:
StackMap stack:
return
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 34 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
0 34 1 name Lsun/security/jgss/krb5/Krb5NameElement;
0 34 2 asn1Encoding [B
0 34 3 client Ljavax/security/auth/kerberos/KerberosPrincipal;
0 34 4 server Ljavax/security/auth/kerberos/KerberosPrincipal;
0 34 5 sessionKey [B
0 34 6 keyType I
0 34 7 flags [Z
0 34 8 authTime Ljava/util/Date;
0 34 9 startTime Ljava/util/Date;
0 34 10 endTime Ljava/util/Date;
0 34 11 renewTill Ljava/util/Date;
0 34 12 clientAddresses [Ljava/net/InetAddress;
26 29 13 e Lsun/security/krb5/KrbException;
30 33 13 e Ljava/io/IOException;
Exception table:
from to target type
12 24 25 Class sun.security.krb5.KrbException
12 24 29 Class java.io.IOException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
asn1Encoding
client
server
sessionKey
keyType
flags
authTime
startTime
endTime
renewTill
clientAddresses
private void <init>(sun.security.jgss.krb5.Krb5NameElement, sun.security.krb5.Credentials, byte[], javax.security.auth.kerberos.KerberosPrincipal, javax.security.auth.kerberos.KerberosPrincipal, byte[], int, boolean[], java.util.Date, java.util.Date, java.util.Date, java.util.Date, java.net.InetAddress[]);
descriptor: (Lsun/security/jgss/krb5/Krb5NameElement;Lsun/security/krb5/Credentials;[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
flags: (0x0002) ACC_PRIVATE
Code:
stack=12, locals=14, args_size=14
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 start local 13 0: aload 0
aload 3
1: aload 4
2: aload 5
3: aload 6
4: iload 7
5: aload 8
6: aload 9
7: aload 10
8: aload 11
9: aload 12
10: aload 13
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
11: aload 0
aload 1
putfield sun.security.jgss.krb5.Krb5InitCredential.name:Lsun/security/jgss/krb5/Krb5NameElement;
12: aload 0
aload 2
putfield sun.security.jgss.krb5.Krb5InitCredential.krb5Credentials:Lsun/security/krb5/Credentials;
13: return
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 14 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
0 14 1 name Lsun/security/jgss/krb5/Krb5NameElement;
0 14 2 delegatedCred Lsun/security/krb5/Credentials;
0 14 3 asn1Encoding [B
0 14 4 client Ljavax/security/auth/kerberos/KerberosPrincipal;
0 14 5 server Ljavax/security/auth/kerberos/KerberosPrincipal;
0 14 6 sessionKey [B
0 14 7 keyType I
0 14 8 flags [Z
0 14 9 authTime Ljava/util/Date;
0 14 10 startTime Ljava/util/Date;
0 14 11 endTime Ljava/util/Date;
0 14 12 renewTill Ljava/util/Date;
0 14 13 clientAddresses [Ljava/net/InetAddress;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
delegatedCred
asn1Encoding
client
server
sessionKey
keyType
flags
authTime
startTime
endTime
renewTill
clientAddresses
static sun.security.jgss.krb5.Krb5InitCredential getInstance(sun.security.jgss.GSSCaller, sun.security.jgss.krb5.Krb5NameElement, int);
descriptor: (Lsun/security/jgss/GSSCaller;Lsun/security/jgss/krb5/Krb5NameElement;I)Lsun/security/jgss/krb5/Krb5InitCredential;
flags: (0x0008) ACC_STATIC
Code:
stack=14, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic sun.security.jgss.krb5.Krb5InitCredential.getTgt:(Lsun/security/jgss/GSSCaller;Lsun/security/jgss/krb5/Krb5NameElement;I)Ljavax/security/auth/kerberos/KerberosTicket;
astore 3
start local 3 1: aload 3
ifnonnull 5
2: new org.ietf.jgss.GSSException
dup
bipush 13
iconst_m1
3: ldc "Failed to find any Kerberos tgt"
4: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
5: StackMap locals: javax.security.auth.kerberos.KerberosTicket
StackMap stack:
aload 1
ifnonnull 10
6: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getClient:()Ljavax/security/auth/kerberos/KerberosPrincipal;
invokevirtual javax.security.auth.kerberos.KerberosPrincipal.getName:()Ljava/lang/String;
astore 4
start local 4 7: aload 4
8: getstatic sun.security.jgss.krb5.Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL:Lorg/ietf/jgss/Oid;
9: invokestatic sun.security.jgss.krb5.Krb5NameElement.getInstance:(Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lsun/security/jgss/krb5/Krb5NameElement;
astore 1
end local 4 10: StackMap locals:
StackMap stack:
new sun.security.jgss.krb5.Krb5InitCredential
dup
aload 1
11: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getEncoded:()[B
12: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getClient:()Ljavax/security/auth/kerberos/KerberosPrincipal;
13: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getServer:()Ljavax/security/auth/kerberos/KerberosPrincipal;
14: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getSessionKey:()Ljavax/crypto/SecretKey;
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
15: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getSessionKeyType:()I
16: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getFlags:()[Z
17: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getAuthTime:()Ljava/util/Date;
18: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getStartTime:()Ljava/util/Date;
19: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getEndTime:()Ljava/util/Date;
20: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getRenewTill:()Ljava/util/Date;
21: aload 3
invokevirtual javax.security.auth.kerberos.KerberosTicket.getClientAddresses:()[Ljava/net/InetAddress;
22: invokespecial sun.security.jgss.krb5.Krb5InitCredential.<init>:(Lsun/security/jgss/krb5/Krb5NameElement;[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
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 caller Lsun/security/jgss/GSSCaller;
0 23 1 name Lsun/security/jgss/krb5/Krb5NameElement;
0 23 2 initLifetime I
1 23 3 tgt Ljavax/security/auth/kerberos/KerberosTicket;
7 10 4 fullName Ljava/lang/String;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
caller
name
initLifetime
static sun.security.jgss.krb5.Krb5InitCredential getInstance(sun.security.jgss.krb5.Krb5NameElement, sun.security.krb5.Credentials);
descriptor: (Lsun/security/jgss/krb5/Krb5NameElement;Lsun/security/krb5/Credentials;)Lsun/security/jgss/krb5/Krb5InitCredential;
flags: (0x0008) ACC_STATIC
Code:
stack=15, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.security.krb5.Credentials.getSessionKey:()Lsun/security/krb5/EncryptionKey;
astore 2
start local 2 1: aload 1
invokevirtual sun.security.krb5.Credentials.getClient:()Lsun/security/krb5/PrincipalName;
astore 3
start local 3 2: aload 1
invokevirtual sun.security.krb5.Credentials.getServer:()Lsun/security/krb5/PrincipalName;
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: aconst_null
astore 6
start local 6 5: aconst_null
astore 7
start local 7 6: aload 3
ifnull 12
7: aload 3
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
astore 8
start local 8 8: aload 8
9: getstatic sun.security.jgss.krb5.Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL:Lorg/ietf/jgss/Oid;
10: invokestatic sun.security.jgss.krb5.Krb5NameElement.getInstance:(Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lsun/security/jgss/krb5/Krb5NameElement;
astore 7
11: new javax.security.auth.kerberos.KerberosPrincipal
dup
aload 8
invokespecial javax.security.auth.kerberos.KerberosPrincipal.<init>:(Ljava/lang/String;)V
astore 5
end local 8 12: StackMap locals: sun.security.jgss.krb5.Krb5NameElement sun.security.krb5.Credentials sun.security.krb5.EncryptionKey sun.security.krb5.PrincipalName sun.security.krb5.PrincipalName javax.security.auth.kerberos.KerberosPrincipal javax.security.auth.kerberos.KerberosPrincipal sun.security.jgss.krb5.Krb5NameElement
StackMap stack:
aload 4
ifnull 17
13: new javax.security.auth.kerberos.KerberosPrincipal
dup
aload 4
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
14: iconst_2
15: invokespecial javax.security.auth.kerberos.KerberosPrincipal.<init>:(Ljava/lang/String;I)V
16: astore 6
17: StackMap locals:
StackMap stack:
new sun.security.jgss.krb5.Krb5InitCredential
dup
aload 7
18: aload 1
19: aload 1
invokevirtual sun.security.krb5.Credentials.getEncoded:()[B
20: aload 5
21: aload 6
22: aload 2
invokevirtual sun.security.krb5.EncryptionKey.getBytes:()[B
23: aload 2
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
24: aload 1
invokevirtual sun.security.krb5.Credentials.getFlags:()[Z
25: aload 1
invokevirtual sun.security.krb5.Credentials.getAuthTime:()Ljava/util/Date;
26: aload 1
invokevirtual sun.security.krb5.Credentials.getStartTime:()Ljava/util/Date;
27: aload 1
invokevirtual sun.security.krb5.Credentials.getEndTime:()Ljava/util/Date;
28: aload 1
invokevirtual sun.security.krb5.Credentials.getRenewTill:()Ljava/util/Date;
29: aload 1
invokevirtual sun.security.krb5.Credentials.getClientAddresses:()[Ljava/net/InetAddress;
30: invokespecial sun.security.jgss.krb5.Krb5InitCredential.<init>:(Lsun/security/jgss/krb5/Krb5NameElement;Lsun/security/krb5/Credentials;[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
areturn
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 31 0 name Lsun/security/jgss/krb5/Krb5NameElement;
0 31 1 delegatedCred Lsun/security/krb5/Credentials;
1 31 2 sessionKey Lsun/security/krb5/EncryptionKey;
2 31 3 cPrinc Lsun/security/krb5/PrincipalName;
3 31 4 sPrinc Lsun/security/krb5/PrincipalName;
4 31 5 client Ljavax/security/auth/kerberos/KerberosPrincipal;
5 31 6 server Ljavax/security/auth/kerberos/KerberosPrincipal;
6 31 7 credName Lsun/security/jgss/krb5/Krb5NameElement;
8 12 8 fullName Ljava/lang/String;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
delegatedCred
public final sun.security.jgss.spi.GSSNameSpi getName();
descriptor: ()Lsun/security/jgss/spi/GSSNameSpi;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.Krb5InitCredential.name:Lsun/security/jgss/krb5/Krb5NameElement;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
Exceptions:
throws org.ietf.jgss.GSSException
public int getInitLifetime();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.jgss.krb5.Krb5InitCredential.getEndTime:()Ljava/util/Date;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.util.Date
StackMap stack:
aload 1
invokevirtual java.util.Date.getTime:()J
invokestatic java.lang.System.currentTimeMillis:()J
lsub
lstore 2
start local 2 4: lload 2
ldc 1000
ldiv
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
1 5 1 d Ljava/util/Date;
4 5 2 retVal J
Exceptions:
throws org.ietf.jgss.GSSException
public int getAcceptLifetime();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
Exceptions:
throws org.ietf.jgss.GSSException
public boolean isInitiatorCredential();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
Exceptions:
throws org.ietf.jgss.GSSException
public boolean isAcceptorCredential();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
Exceptions:
throws org.ietf.jgss.GSSException
public final org.ietf.jgss.Oid getMechanism();
descriptor: ()Lorg/ietf/jgss/Oid;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.krb5.Krb5MechFactory.GSS_KRB5_MECH_OID:Lorg/ietf/jgss/Oid;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
public final java.security.Provider getProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.krb5.Krb5MechFactory.PROVIDER:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
sun.security.krb5.Credentials getKrb5Credentials();
descriptor: ()Lsun/security/krb5/Credentials;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.Krb5InitCredential.krb5Credentials:Lsun/security/krb5/Credentials;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.jgss.krb5.Krb5InitCredential.destroy:()V
1: goto 8
StackMap locals:
StackMap stack: javax.security.auth.DestroyFailedException
2: astore 1
start local 1 3: new org.ietf.jgss.GSSException
dup
bipush 11
iconst_m1
4: new java.lang.StringBuilder
dup
ldc "Could not destroy credentials - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual javax.security.auth.DestroyFailedException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
6: astore 2
start local 2 7: aload 2
aload 1
invokevirtual org.ietf.jgss.GSSException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
end local 2 end local 1 8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
3 8 1 e Ljavax/security/auth/DestroyFailedException;
7 8 2 gssException Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
0 1 2 Class javax.security.auth.DestroyFailedException
Exceptions:
throws org.ietf.jgss.GSSException
private static javax.security.auth.kerberos.KerberosTicket getTgt(sun.security.jgss.GSSCaller, sun.security.jgss.krb5.Krb5NameElement, int);
descriptor: (Lsun/security/jgss/GSSCaller;Lsun/security/jgss/krb5/Krb5NameElement;I)Ljavax/security/auth/kerberos/KerberosTicket;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 4
start local 4 1: aload 1
ifnull 5
2: aload 1
invokevirtual sun.security.jgss.krb5.Krb5NameElement.getKrb5PrincipalName:()Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
astore 3
start local 3 3: aload 1
invokevirtual sun.security.jgss.krb5.Krb5NameElement.getKrb5PrincipalName:()Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getRealmAsString:()Ljava/lang/String;
pop
4: goto 18
end local 3 5: StackMap locals: sun.security.jgss.GSSCaller sun.security.jgss.krb5.Krb5NameElement int top java.lang.String
StackMap stack:
aconst_null
astore 3
start local 3 6: invokestatic sun.security.krb5.Config.getInstance:()Lsun/security/krb5/Config;
astore 5
start local 5 7: aload 5
invokevirtual sun.security.krb5.Config.getDefaultRealm:()Ljava/lang/String;
pop
end local 5 8: goto 18
StackMap locals: sun.security.jgss.GSSCaller sun.security.jgss.krb5.Krb5NameElement int java.lang.String java.lang.String
StackMap stack: sun.security.krb5.KrbException
9: astore 5
start local 5 10: new org.ietf.jgss.GSSException
dup
bipush 13
iconst_m1
11: new java.lang.StringBuilder
dup
ldc "Attempt to obtain INITIATE credentials failed! ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 5
invokevirtual sun.security.krb5.KrbException.getMessage:()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;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
15: astore 6
start local 6 16: aload 6
aload 5
invokevirtual org.ietf.jgss.GSSException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
17: aload 6
athrow
end local 6 end local 5 18: StackMap locals:
StackMap stack:
invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 5
start local 5 19: aload 0
getstatic sun.security.jgss.GSSCaller.CALLER_UNKNOWN:Lsun/security/jgss/GSSCaller;
if_acmpne 21
20: getstatic sun.security.jgss.GSSCaller.CALLER_INITIATE:Lsun/security/jgss/GSSCaller;
goto 22
21: StackMap locals: java.security.AccessControlContext
StackMap stack:
aload 0
22: StackMap locals:
StackMap stack: sun.security.jgss.GSSCaller
astore 6
start local 6 23: new sun.security.jgss.krb5.Krb5InitCredential$1
dup
aload 6
aload 3
aload 4
aload 5
invokespecial sun.security.jgss.krb5.Krb5InitCredential$1.<init>:(Lsun/security/jgss/GSSCaller;Ljava/lang/String;Ljava/lang/String;Ljava/security/AccessControlContext;)V
24: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast javax.security.auth.kerberos.KerberosTicket
25: areturn
end local 6 26: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 6
start local 6 27: new org.ietf.jgss.GSSException
dup
bipush 13
iconst_m1
28: new java.lang.StringBuilder
dup
ldc "Attempt to obtain new INITIATE credentials failed! ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
29: aload 6
invokevirtual java.security.PrivilegedActionException.getMessage:()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;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
31: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
32: astore 7
start local 7 33: aload 7
aload 6
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
invokevirtual org.ietf.jgss.GSSException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
34: aload 7
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 35 0 caller Lsun/security/jgss/GSSCaller;
0 35 1 name Lsun/security/jgss/krb5/Krb5NameElement;
0 35 2 initLifetime I
3 5 3 clientPrincipal Ljava/lang/String;
6 35 3 clientPrincipal Ljava/lang/String;
1 35 4 tgsPrincipal Ljava/lang/String;
7 8 5 config Lsun/security/krb5/Config;
10 18 5 e Lsun/security/krb5/KrbException;
16 18 6 ge Lorg/ietf/jgss/GSSException;
19 35 5 acc Ljava/security/AccessControlContext;
23 26 6 realCaller Lsun/security/jgss/GSSCaller;
27 35 6 e Ljava/security/PrivilegedActionException;
33 35 7 ge Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
6 8 9 Class sun.security.krb5.KrbException
19 25 26 Class java.security.PrivilegedActionException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
caller
name
initLifetime
}
SourceFile: "Krb5InitCredential.java"
NestMembers:
sun.security.jgss.krb5.Krb5InitCredential$1
InnerClasses:
sun.security.jgss.krb5.Krb5InitCredential$1