public enum ImpersonationSessionNote extends Enum<ImpersonationSessionNote> implements UserSessionNoteDescriptor
Enum Constant and Description |
---|
IMPERSONATOR_ID |
IMPERSONATOR_USERNAME |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String |
getTokenClaim() |
static ImpersonationSessionNote |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImpersonationSessionNote[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImpersonationSessionNote IMPERSONATOR_ID
public static final ImpersonationSessionNote IMPERSONATOR_USERNAME
public static ImpersonationSessionNote[] values()
for (ImpersonationSessionNote c : ImpersonationSessionNote.values()) System.out.println(c);
public static ImpersonationSessionNote valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDisplayName()
getDisplayName
in interface UserSessionNoteDescriptor
public String getTokenClaim()
getTokenClaim
in interface UserSessionNoteDescriptor
Copyright © 2021 JBoss by Red Hat. All rights reserved.