public static enum AuthenticationMechanism.CredentialInterface extends Enum<AuthenticationMechanism.CredentialInterface>
Enum Constant and Description |
---|
GenericCredential
Corresponds to
javax.resource.spi.security.GenericCredential |
GSSCredential
Corresponds to
org.ietf.jgss.GSSCredential |
PasswordCredential
Corresponds to
javax.resource.spi.security.PasswordCredential . |
Modifier and Type | Method and Description |
---|---|
static AuthenticationMechanism.CredentialInterface |
valueOf(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
javax.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
javax.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(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 nullCopyright © 2019 Eclipse Foundation.
Use is subject to license terms.