Top Inners Methods
jakarta.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

Returns:

authentication mechanism supported by the resource adapter
authMechanism
()

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

public AuthenticationMechanism.CredentialInterface

Returns:

interface that the resource adapter implementation supports for the representation of the credentials
credentialInterface
()

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

public String[]

Returns:

description
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-mechanism-type 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.

Returns:String

authentication mechanism supported by the resource adapter

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 jakarta.resource.spi.security.PasswordCredential interface. The Kerbv5 mechanism type should support the org.ietf.jgss.GSSCredential interface or the deprecated jakarta.resource.spi.security.GenericCredential interface.

Returns:AuthenticationMechanism.CredentialInterface

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

descriptionback to summary
public String[] description()

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

Returns:String[]

description

jakarta.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

Field Summary

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

Corresponds to jakarta.resource.spi.security.GenericCredential

public static final AuthenticationMechanism.CredentialInterface
GSSCredential

Corresponds to org.ietf.jgss.GSSCredential

public static final AuthenticationMechanism.CredentialInterface
PasswordCredential

Corresponds to jakarta.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 jakarta.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 jakarta.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()