Top Inners Methods
javax.resource.spi

public @Interface AuthenticationMechanism

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target
Imports
java.lang.annotation.Target, .Retention, .Documented

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
AuthenticationMechanism.CredentialInterface

An enumerated type that represents the various interfaces that a resource adapter may support for the representation of the credentials.

Method Summary

Modifier and TypeMethod and Description
public String
authMechanism()

The authentication-mechanismType specifies an authentication mechanism supported by the resource adapter.

public AuthenticationMechanism.CredentialInterface
credentialInterface()

Represents the interface that the resource adapter implementation supports for the representation of the credentials.

public String[]
description()

The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

authMechanismback to summary
public String authMechanism()

The authentication-mechanismType specifies an authentication mechanism supported by the resource adapter. Note that this support is for the resource adapter and not for the underlying EIS instance.

credentialInterfaceback to summary
public AuthenticationMechanism.CredentialInterface credentialInterface()

Represents the interface that the resource adapter implementation supports for the representation of the credentials. Note that BasicPassword mechanism type should support the javax.resource.spi.security.PasswordCredential interface. The Kerbv5 mechanism type should support the org.ietf.jgss.GSSCredential interface or the deprecated javax.resource.spi.security.GenericCredential interface.

descriptionback to summary
public String[] description()

The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.

javax.resource.spi back to summary

public final Enum AuthenticationMechanism.CredentialInterface

extends Enum<AuthenticationMechanism.CredentialInterface>
Class Inheritance

An enumerated type that represents the various interfaces that a resource adapter may support for the representation of the credentials.
Since
1.6
Version
Java EE Connector Architecture 1.6

Field Summary

Modifier and TypeField and Description
public static final AuthenticationMechanism.CredentialInterface
GenericCredential

Corresponds to javax.resource.spi.security.GenericCredential

public static final AuthenticationMechanism.CredentialInterface
GSSCredential

Corresponds to org.ietf.jgss.GSSCredential

public static final AuthenticationMechanism.CredentialInterface
PasswordCredential

Corresponds to javax.resource.spi.security.PasswordCredential.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AuthenticationMechanism.CredentialInterface
public static AuthenticationMechanism.CredentialInterface[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

GenericCredentialback to summary
public static final AuthenticationMechanism.CredentialInterface GenericCredential

Corresponds to javax.resource.spi.security.GenericCredential

GSSCredentialback to summary
public static final AuthenticationMechanism.CredentialInterface GSSCredential

Corresponds to org.ietf.jgss.GSSCredential

PasswordCredentialback to summary
public static final AuthenticationMechanism.CredentialInterface PasswordCredential

Corresponds to javax.resource.spi.security.PasswordCredential. This is the default credential interface

Constructor Detail

CredentialInterfaceback to summary
private CredentialInterface()

Method Detail

valueOfback to summary
public static AuthenticationMechanism.CredentialInterface valueOf(String name)
valuesback to summary
public static AuthenticationMechanism.CredentialInterface[] values()