public static enum AuthenticationMechanism.CredentialInterface extends java.lang.Enum<AuthenticationMechanism.CredentialInterface>
Enum Constant and Description |
---|
GenericCredential
Corresponds to
jakarta.resource.spi.security.GenericCredential |
GSSCredential
Corresponds to
org.ietf.jgss.GSSCredential |
PasswordCredential
Corresponds to
jakarta.resource.spi.security.PasswordCredential . |
Modifier and Type | Method and Description |
---|---|
static AuthenticationMechanism.CredentialInterface |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMechanism.CredentialInterface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMechanism.CredentialInterface PasswordCredential
jakarta.resource.spi.security.PasswordCredential
.
This is the default credential interfacepublic static final AuthenticationMechanism.CredentialInterface GSSCredential
org.ietf.jgss.GSSCredential
public static final AuthenticationMechanism.CredentialInterface GenericCredential
jakarta.resource.spi.security.GenericCredential
public static AuthenticationMechanism.CredentialInterface[] values()
for (AuthenticationMechanism.CredentialInterface c : AuthenticationMechanism.CredentialInterface.values()) System.out.println(c);
public static AuthenticationMechanism.CredentialInterface valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null