Class Target_org_wildfly_security_x500_util_X500PrincipalUtil
- java.lang.Object
-
- io.quarkus.elytron.security.common.runtime.graal.Target_org_wildfly_security_x500_util_X500PrincipalUtil
-
final class Target_org_wildfly_security_x500_util_X500PrincipalUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static MethodHandle
AS_X500_PRINCIPAL_HANDLE
(package private) static Class<?>
X500_NAME_CLASS
-
Constructor Summary
Constructors Constructor Description Target_org_wildfly_security_x500_util_X500PrincipalUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static X500Principal
asX500Principal(Principal principal, boolean convert)
Only handle the case of converting a Principal.getName() to X500Principal
-
-
-
Field Detail
-
X500_NAME_CLASS
static Class<?> X500_NAME_CLASS
-
AS_X500_PRINCIPAL_HANDLE
static MethodHandle AS_X500_PRINCIPAL_HANDLE
-
-
Method Detail
-
asX500Principal
public static X500Principal asX500Principal(Principal principal, boolean convert)
Only handle the case of converting a Principal.getName() to X500Principal- Parameters:
principal
- - Principal with name that maps to valid DNconvert
- - whether one should convert to X500Principal- Returns:
- X500Principal if convert is true and valid DN is seen, null otherwise
-
-