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=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual sun.security.jgss.krb5.Krb5InitCredential.getEndTime:()Ljava/util/Date;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: int java.util.Date
StackMap stack:
aload 2
invokevirtual java.util.Date.getTime:()J
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
invokevirtual java.util.Date.getTime:()J
lsub
l2i
istore 1
5: iload 1
sipush 1000
idiv
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
1 6 1 retVal I
2 6 2 d Ljava/util/Date;
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=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 3
1: 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 2: goto 4
end local 3 3: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 4: StackMap locals: java.lang.String
StackMap stack:
invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 4
start local 4 5: aload 0
getstatic sun.security.jgss.GSSCaller.CALLER_UNKNOWN:Lsun/security/jgss/GSSCaller;
if_acmpne 7
6: getstatic sun.security.jgss.GSSCaller.CALLER_INITIATE:Lsun/security/jgss/GSSCaller;
goto 8
7: StackMap locals: java.security.AccessControlContext
StackMap stack:
aload 0
8: StackMap locals:
StackMap stack: sun.security.jgss.GSSCaller
astore 5
start local 5 9: new sun.security.jgss.krb5.Krb5InitCredential$1
dup
aload 5
aload 3
aload 4
invokespecial sun.security.jgss.krb5.Krb5InitCredential$1.<init>:(Lsun/security/jgss/GSSCaller;Ljava/lang/String;Ljava/security/AccessControlContext;)V
10: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast javax.security.auth.kerberos.KerberosTicket
11: areturn
end local 5 12: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 5
start local 5 13: new org.ietf.jgss.GSSException
dup
bipush 13
iconst_m1
14: new java.lang.StringBuilder
dup
ldc "Attempt to obtain new INITIATE credentials failed! ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 5
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;
16: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
18: astore 6
start local 6 19: aload 6
aload 5
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
invokevirtual org.ietf.jgss.GSSException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
20: aload 6
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 21 0 caller Lsun/security/jgss/GSSCaller;
0 21 1 name Lsun/security/jgss/krb5/Krb5NameElement;
0 21 2 initLifetime I
2 3 3 clientPrincipal Ljava/lang/String;
4 21 3 clientPrincipal Ljava/lang/String;
5 21 4 acc Ljava/security/AccessControlContext;
9 12 5 realCaller Lsun/security/jgss/GSSCaller;
13 21 5 e Ljava/security/PrivilegedActionException;
19 21 6 ge Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
5 11 12 Class java.security.PrivilegedActionException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
caller
name
initLifetime
public sun.security.jgss.spi.GSSCredentialSpi impersonate(sun.security.jgss.spi.GSSNameSpi);
descriptor: (Lsun/security/jgss/spi/GSSNameSpi;)Lsun/security/jgss/spi/GSSCredentialSpi;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
checkcast sun.security.jgss.krb5.Krb5NameElement
astore 2
start local 2 1: aload 2
invokevirtual sun.security.jgss.krb5.Krb5NameElement.getKrb5PrincipalName:()Lsun/security/krb5/PrincipalName;
aload 0
getfield sun.security.jgss.krb5.Krb5InitCredential.krb5Credentials:Lsun/security/krb5/Credentials;
2: invokestatic sun.security.krb5.Credentials.acquireS4U2selfCreds:(Lsun/security/krb5/PrincipalName;Lsun/security/krb5/Credentials;)Lsun/security/krb5/Credentials;
astore 3
start local 3 3: new sun.security.jgss.krb5.Krb5ProxyCredential
dup
aload 0
aload 2
aload 3
invokevirtual sun.security.krb5.Credentials.getTicket:()Lsun/security/krb5/internal/Ticket;
invokespecial sun.security.jgss.krb5.Krb5ProxyCredential.<init>:(Lsun/security/jgss/krb5/Krb5InitCredential;Lsun/security/jgss/krb5/Krb5NameElement;Lsun/security/krb5/internal/Ticket;)V
4: areturn
end local 3 end local 2 5: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 6: new org.ietf.jgss.GSSException
dup
bipush 11
iconst_m1
7: ldc "Attempt to obtain S4U2self credentials failed!"
8: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
9: astore 3
start local 3 10: aload 3
aload 2
invokevirtual org.ietf.jgss.GSSException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
11: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/jgss/krb5/Krb5InitCredential;
0 12 1 name Lsun/security/jgss/spi/GSSNameSpi;
1 5 2 kname Lsun/security/jgss/krb5/Krb5NameElement;
3 5 3 newCred Lsun/security/krb5/Credentials;
6 12 2 ke Ljava/lang/Exception;
10 12 3 ge Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
0 4 5 Class java.io.IOException
0 4 5 Class sun.security.krb5.KrbException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
}
SourceFile: "Krb5InitCredential.java"
NestMembers:
sun.security.jgss.krb5.Krb5InitCredential$1
InnerClasses:
sun.security.jgss.krb5.Krb5InitCredential$1