public class sun.security.jgss.krb5.Krb5AcceptCredential 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.Krb5AcceptCredential
super_class: java.lang.Object
{
private final sun.security.jgss.krb5.Krb5NameElement name;
descriptor: Lsun/security/jgss/krb5/Krb5NameElement;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.security.jgss.krb5.ServiceCreds screds;
descriptor: Lsun/security/jgss/krb5/ServiceCreds;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(sun.security.jgss.krb5.Krb5NameElement, sun.security.jgss.krb5.ServiceCreds);
descriptor: (Lsun/security/jgss/krb5/Krb5NameElement;Lsun/security/jgss/krb5/ServiceCreds;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.jgss.krb5.Krb5AcceptCredential.name:Lsun/security/jgss/krb5/Krb5NameElement;
2: aload 0
aload 2
putfield sun.security.jgss.krb5.Krb5AcceptCredential.screds:Lsun/security/jgss/krb5/ServiceCreds;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/jgss/krb5/Krb5AcceptCredential;
0 4 1 name Lsun/security/jgss/krb5/Krb5NameElement;
0 4 2 creds Lsun/security/jgss/krb5/ServiceCreds;
MethodParameters:
Name Flags
name
creds
static sun.security.jgss.krb5.Krb5AcceptCredential getInstance(sun.security.jgss.GSSCaller, sun.security.jgss.krb5.Krb5NameElement);
descriptor: (Lsun/security/jgss/GSSCaller;Lsun/security/jgss/krb5/Krb5NameElement;)Lsun/security/jgss/krb5/Krb5AcceptCredential;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
goto 2
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.jgss.krb5.Krb5NameElement.getKrb5PrincipalName:()Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
2: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 3: invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: new sun.security.jgss.krb5.Krb5AcceptCredential$1
dup
aload 0
aload 2
aload 3
invokespecial sun.security.jgss.krb5.Krb5AcceptCredential$1.<init>:(Lsun/security/jgss/GSSCaller;Ljava/lang/String;Ljava/security/AccessControlContext;)V
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast sun.security.jgss.krb5.ServiceCreds
astore 4
7: goto 15
StackMap locals: sun.security.jgss.GSSCaller sun.security.jgss.krb5.Krb5NameElement java.lang.String java.security.AccessControlContext sun.security.jgss.krb5.ServiceCreds
StackMap stack: java.security.PrivilegedActionException
8: astore 5
start local 5 9: new org.ietf.jgss.GSSException
dup
bipush 13
iconst_m1
10: ldc "Attempt to obtain new ACCEPT credentials failed!"
11: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
12: astore 6
start local 6 13: 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
14: aload 6
athrow
end local 6 end local 5 15: StackMap locals:
StackMap stack:
aload 4
ifnonnull 19
16: new org.ietf.jgss.GSSException
dup
bipush 13
iconst_m1
17: ldc "Failed to find any Kerberos credentials"
18: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 1
ifnonnull 25
20: aload 4
invokevirtual sun.security.jgss.krb5.ServiceCreds.getName:()Ljava/lang/String;
astore 5
start local 5 21: aload 5
ifnull 25
22: aload 5
23: getstatic sun.security.jgss.krb5.Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL:Lorg/ietf/jgss/Oid;
24: invokestatic sun.security.jgss.krb5.Krb5NameElement.getInstance:(Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lsun/security/jgss/krb5/Krb5NameElement;
astore 1
end local 5 25: StackMap locals:
StackMap stack:
new sun.security.jgss.krb5.Krb5AcceptCredential
dup
aload 1
aload 4
invokespecial sun.security.jgss.krb5.Krb5AcceptCredential.<init>:(Lsun/security/jgss/krb5/Krb5NameElement;Lsun/security/jgss/krb5/ServiceCreds;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 caller Lsun/security/jgss/GSSCaller;
0 26 1 name Lsun/security/jgss/krb5/Krb5NameElement;
3 26 2 serverPrinc Ljava/lang/String;
4 26 3 acc Ljava/security/AccessControlContext;
5 26 4 creds Lsun/security/jgss/krb5/ServiceCreds;
9 15 5 e Ljava/security/PrivilegedActionException;
13 15 6 ge Lorg/ietf/jgss/GSSException;
21 25 5 fullName Ljava/lang/String;
Exception table:
from to target type
5 7 8 Class java.security.PrivilegedActionException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
caller final
name
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.Krb5AcceptCredential.name:Lsun/security/jgss/krb5/Krb5NameElement;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5AcceptCredential;
Exceptions:
throws org.ietf.jgss.GSSException
public int getInitLifetime();
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/Krb5AcceptCredential;
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: ldc 2147483647
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5AcceptCredential;
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_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5AcceptCredential;
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_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5AcceptCredential;
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/Krb5AcceptCredential;
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/Krb5AcceptCredential;
public sun.security.krb5.EncryptionKey[] getKrb5EncryptionKeys(sun.security.krb5.PrincipalName);
descriptor: (Lsun/security/krb5/PrincipalName;)[Lsun/security/krb5/EncryptionKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.jgss.krb5.Krb5AcceptCredential.screds:Lsun/security/jgss/krb5/ServiceCreds;
aload 1
invokevirtual sun.security.jgss.krb5.ServiceCreds.getEKeys:(Lsun/security/krb5/PrincipalName;)[Lsun/security/krb5/EncryptionKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5AcceptCredential;
0 1 1 princ Lsun/security/krb5/PrincipalName;
MethodParameters:
Name Flags
princ
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.Krb5AcceptCredential.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/Krb5AcceptCredential;
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
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.Krb5AcceptCredential.screds:Lsun/security/jgss/krb5/ServiceCreds;
invokevirtual sun.security.jgss.krb5.ServiceCreds.destroy:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/jgss/krb5/Krb5AcceptCredential;
Exceptions:
throws javax.security.auth.DestroyFailedException
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.jgss.krb5.Krb5AcceptCredential.screds:Lsun/security/jgss/krb5/ServiceCreds;
invokevirtual sun.security.jgss.krb5.ServiceCreds.getInitCred:()Lsun/security/krb5/Credentials;
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 0
getfield sun.security.jgss.krb5.Krb5AcceptCredential.name:Lsun/security/jgss/krb5/Krb5NameElement;
aload 2
invokestatic sun.security.jgss.krb5.Krb5InitCredential.getInstance:(Lsun/security/jgss/krb5/Krb5NameElement;Lsun/security/krb5/Credentials;)Lsun/security/jgss/krb5/Krb5InitCredential;
3: aload 1
invokevirtual sun.security.jgss.krb5.Krb5InitCredential.impersonate:(Lsun/security/jgss/spi/GSSNameSpi;)Lsun/security/jgss/spi/GSSCredentialSpi;
4: areturn
5: StackMap locals: sun.security.krb5.Credentials
StackMap stack:
new org.ietf.jgss.GSSException
dup
bipush 11
iconst_m1
6: ldc "Only an initiate credentials can impersonate"
7: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/jgss/krb5/Krb5AcceptCredential;
0 8 1 name Lsun/security/jgss/spi/GSSNameSpi;
1 8 2 cred Lsun/security/krb5/Credentials;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
}
SourceFile: "Krb5AcceptCredential.java"
NestMembers:
sun.security.jgss.krb5.Krb5AcceptCredential$1
InnerClasses:
sun.security.jgss.krb5.Krb5AcceptCredential$1