public enum CredentialInterfaceEnum extends Enum<CredentialInterfaceEnum>
Enum Constant and Description |
---|
GenericCredential
enum instance representing javax.resource.spi.security.GenericCredential
|
GSSCredential
enum instance representing org.ietf.jgss.GSSCredentia
|
PasswordCredential
enum instance representing javax.resource.spi.security.PasswordCredential
|
Modifier and Type | Method and Description |
---|---|
static CredentialInterfaceEnum |
forName(String fullQualifiedName)
Conveninet method to get enum instance giving full qualified name
|
String |
getFullQualifiedName() |
String |
toString() |
static CredentialInterfaceEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CredentialInterfaceEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CredentialInterfaceEnum PasswordCredential
public static final CredentialInterfaceEnum GSSCredential
public static final CredentialInterfaceEnum GenericCredential
public static CredentialInterfaceEnum[] values()
for (CredentialInterfaceEnum c : CredentialInterfaceEnum.values()) System.out.println(c);
public static CredentialInterfaceEnum 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 static CredentialInterfaceEnum forName(String fullQualifiedName) throws IllegalArgumentException
fullQualifiedName
- the full qualified name of supported Credential interfaceIllegalArgumentException
- in case the fullQualifiedName isn't one of the supported interfaces:
javax.resource.spi.security.PasswordCredential
org.ietf.jgss.GSSCredential
javax.resource.spi.security.GenericCredentialpublic String getFullQualifiedName()
public String toString()
toString
in class Enum<CredentialInterfaceEnum>
Copyright © 2021 JBoss by Red Hat. All rights reserved.