Package javax.resource.spi
Annotation Interface AuthenticationMechanism
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An enumerated type that represents the various interfaces that a resource adapter may support for the representation of the credentials. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe authentication-mechanismType specifies an authentication mechanism supported by the resource adapter.Represents the interface that the resource adapter implementation supports for the representation of the credentials.String[]
The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
-
Element Details
-
authMechanism
String authMechanismThe 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.- Default:
- "BasicPassword"
-
description
String[] descriptionThe optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.- Default:
- {}
-
credentialInterface
AuthenticationMechanism.CredentialInterface credentialInterfaceRepresents the interface that the resource adapter implementation supports for the representation of the credentials. Note that BasicPassword mechanism type should support thejavax.resource.spi.security.PasswordCredential
interface. The Kerbv5 mechanism type should support theorg.ietf.jgss.GSSCredential
interface or the deprecatedjavax.resource.spi.security.GenericCredential
interface.- Default:
- PasswordCredential
-