public enum CredentialInterfaceEnum extends java.lang.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(java.lang.String fullQualifiedName)
Conveninet method to get enum instance giving full qualified name
|
java.lang.String |
getFullQualifiedName() |
java.lang.String |
toString() |
static CredentialInterfaceEnum |
valueOf(java.lang.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(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 nullpublic static CredentialInterfaceEnum forName(java.lang.String fullQualifiedName) throws java.lang.IllegalArgumentException
fullQualifiedName
- the full qualified name of supported Credential interfacejava.lang.IllegalArgumentException
- 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 java.lang.String getFullQualifiedName()
public java.lang.String toString()
toString
in class java.lang.Enum<CredentialInterfaceEnum>
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)