public class io.undertow.security.impl.ExternalAuthenticationMechanism implements io.undertow.security.api.AuthenticationMechanism
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.security.impl.ExternalAuthenticationMechanism
super_class: java.lang.Object
{
public static final io.undertow.security.api.AuthenticationMechanismFactory FACTORY;
descriptor: Lio/undertow/security/api/AuthenticationMechanismFactory;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "EXTERNAL"
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.undertow.security.idm.IdentityManager identityManager;
descriptor: Lio/undertow/security/idm/IdentityManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final io.undertow.util.AttachmentKey<java.lang.String> EXTERNAL_PRINCIPAL;
descriptor: Lio/undertow/util/AttachmentKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lio/undertow/util/AttachmentKey<Ljava/lang/String;>;
public static final io.undertow.util.AttachmentKey<java.lang.String> EXTERNAL_AUTHENTICATION_TYPE;
descriptor: Lio/undertow/util/AttachmentKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lio/undertow/util/AttachmentKey<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.undertow.security.impl.ExternalAuthenticationMechanism$Factory
dup
invokespecial io.undertow.security.impl.ExternalAuthenticationMechanism$Factory.<init>:()V
putstatic io.undertow.security.impl.ExternalAuthenticationMechanism.FACTORY:Lio/undertow/security/api/AuthenticationMechanismFactory;
1: ldc Ljava/lang/String;
invokestatic io.undertow.util.AttachmentKey.create:(Ljava/lang/Class;)Lio/undertow/util/AttachmentKey;
putstatic io.undertow.security.impl.ExternalAuthenticationMechanism.EXTERNAL_PRINCIPAL:Lio/undertow/util/AttachmentKey;
2: ldc Ljava/lang/String;
invokestatic io.undertow.util.AttachmentKey.create:(Ljava/lang/Class;)Lio/undertow/util/AttachmentKey;
putstatic io.undertow.security.impl.ExternalAuthenticationMechanism.EXTERNAL_AUTHENTICATION_TYPE:Lio/undertow/util/AttachmentKey;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, io.undertow.security.idm.IdentityManager);
descriptor: (Ljava/lang/String;Lio/undertow/security/idm/IdentityManager;)V
flags: (0x0001) ACC_PUBLIC
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 io.undertow.security.impl.ExternalAuthenticationMechanism.name:Ljava/lang/String;
2: aload 0
aload 2
putfield io.undertow.security.impl.ExternalAuthenticationMechanism.identityManager:Lio/undertow/security/idm/IdentityManager;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/undertow/security/impl/ExternalAuthenticationMechanism;
0 4 1 name Ljava/lang/String;
0 4 2 identityManager Lio/undertow/security/idm/IdentityManager;
MethodParameters:
Name Flags
name
identityManager
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial io.undertow.security.impl.ExternalAuthenticationMechanism.<init>:(Ljava/lang/String;Lio/undertow/security/idm/IdentityManager;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/security/impl/ExternalAuthenticationMechanism;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "EXTERNAL"
invokespecial io.undertow.security.impl.ExternalAuthenticationMechanism.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/security/impl/ExternalAuthenticationMechanism;
private io.undertow.security.idm.IdentityManager getIdentityManager(io.undertow.security.api.SecurityContext);
descriptor: (Lio/undertow/security/api/SecurityContext;)Lio/undertow/security/idm/IdentityManager;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.security.impl.ExternalAuthenticationMechanism.identityManager:Lio/undertow/security/idm/IdentityManager;
ifnull 1
aload 0
getfield io.undertow.security.impl.ExternalAuthenticationMechanism.identityManager:Lio/undertow/security/idm/IdentityManager;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokeinterface io.undertow.security.api.SecurityContext.getIdentityManager:()Lio/undertow/security/idm/IdentityManager;
StackMap locals:
StackMap stack: io.undertow.security.idm.IdentityManager
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/undertow/security/impl/ExternalAuthenticationMechanism;
0 3 1 securityContext Lio/undertow/security/api/SecurityContext;
MethodParameters:
Name Flags
securityContext
public io.undertow.security.api.AuthenticationMechanism$AuthenticationMechanismOutcome authenticate(io.undertow.server.HttpServerExchange, io.undertow.security.api.SecurityContext);
descriptor: (Lio/undertow/server/HttpServerExchange;Lio/undertow/security/api/SecurityContext;)Lio/undertow/security/api/AuthenticationMechanism$AuthenticationMechanismOutcome;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic io.undertow.security.impl.ExternalAuthenticationMechanism.EXTERNAL_PRINCIPAL:Lio/undertow/util/AttachmentKey;
invokevirtual io.undertow.server.HttpServerExchange.getAttachment:(Lio/undertow/util/AttachmentKey;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 1: aload 3
ifnonnull 3
2: getstatic io.undertow.security.api.AuthenticationMechanism$AuthenticationMechanismOutcome.NOT_ATTEMPTED:Lio/undertow/security/api/AuthenticationMechanism$AuthenticationMechanismOutcome;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
invokevirtual io.undertow.security.impl.ExternalAuthenticationMechanism.getIdentityManager:(Lio/undertow/security/api/SecurityContext;)Lio/undertow/security/idm/IdentityManager;
aload 3
getstatic io.undertow.security.idm.ExternalCredential.INSTANCE:Lio/undertow/security/idm/ExternalCredential;
invokeinterface io.undertow.security.idm.IdentityManager.verify:(Ljava/lang/String;Lio/undertow/security/idm/Credential;)Lio/undertow/security/idm/Account;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: getstatic io.undertow.security.api.AuthenticationMechanism$AuthenticationMechanismOutcome.NOT_AUTHENTICATED:Lio/undertow/security/api/AuthenticationMechanism$AuthenticationMechanismOutcome;
areturn
6: StackMap locals: io.undertow.security.idm.Account
StackMap stack:
aload 1
getstatic io.undertow.security.impl.ExternalAuthenticationMechanism.EXTERNAL_AUTHENTICATION_TYPE:Lio/undertow/util/AttachmentKey;
invokevirtual io.undertow.server.HttpServerExchange.getAttachment:(Lio/undertow/util/AttachmentKey;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 7: aload 2
aload 4
aload 5
ifnull 8
aload 5
goto 9
StackMap locals: io.undertow.security.impl.ExternalAuthenticationMechanism io.undertow.server.HttpServerExchange io.undertow.security.api.SecurityContext java.lang.String io.undertow.security.idm.Account java.lang.String
StackMap stack: io.undertow.security.api.SecurityContext io.undertow.security.idm.Account
8: aload 0
getfield io.undertow.security.impl.ExternalAuthenticationMechanism.name:Ljava/lang/String;
StackMap locals: io.undertow.security.impl.ExternalAuthenticationMechanism io.undertow.server.HttpServerExchange io.undertow.security.api.SecurityContext java.lang.String io.undertow.security.idm.Account java.lang.String
StackMap stack: io.undertow.security.api.SecurityContext io.undertow.security.idm.Account java.lang.String
9: iconst_0
invokeinterface io.undertow.security.api.SecurityContext.authenticationComplete:(Lio/undertow/security/idm/Account;Ljava/lang/String;Z)V
10: getstatic io.undertow.security.api.AuthenticationMechanism$AuthenticationMechanismOutcome.AUTHENTICATED:Lio/undertow/security/api/AuthenticationMechanism$AuthenticationMechanismOutcome;
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 11 0 this Lio/undertow/security/impl/ExternalAuthenticationMechanism;
0 11 1 exchange Lio/undertow/server/HttpServerExchange;
0 11 2 securityContext Lio/undertow/security/api/SecurityContext;
1 11 3 principal Ljava/lang/String;
4 11 4 account Lio/undertow/security/idm/Account;
7 11 5 name Ljava/lang/String;
MethodParameters:
Name Flags
exchange
securityContext
public io.undertow.security.api.AuthenticationMechanism$ChallengeResult sendChallenge(io.undertow.server.HttpServerExchange, io.undertow.security.api.SecurityContext);
descriptor: (Lio/undertow/server/HttpServerExchange;Lio/undertow/security/api/SecurityContext;)Lio/undertow/security/api/AuthenticationMechanism$ChallengeResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic io.undertow.security.api.AuthenticationMechanism$ChallengeResult.NOT_SENT:Lio/undertow/security/api/AuthenticationMechanism$ChallengeResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/security/impl/ExternalAuthenticationMechanism;
0 1 1 exchange Lio/undertow/server/HttpServerExchange;
0 1 2 securityContext Lio/undertow/security/api/SecurityContext;
MethodParameters:
Name Flags
exchange
securityContext
}
SourceFile: "ExternalAuthenticationMechanism.java"
NestMembers:
io.undertow.security.impl.ExternalAuthenticationMechanism$Factory
InnerClasses:
public final AuthenticationMechanismOutcome = io.undertow.security.api.AuthenticationMechanism$AuthenticationMechanismOutcome of io.undertow.security.api.AuthenticationMechanism
public ChallengeResult = io.undertow.security.api.AuthenticationMechanism$ChallengeResult of io.undertow.security.api.AuthenticationMechanism
public final Factory = io.undertow.security.impl.ExternalAuthenticationMechanism$Factory of io.undertow.security.impl.ExternalAuthenticationMechanism