- 
 @Documented @Retention(RUNTIME) @Target({}) public @interface AuthenticationMechanism 
- 
- 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description StringauthMechanismThe authentication-mechanism-type specifies an authentication mechanism supported by the resource adapter.AuthenticationMechanism.CredentialInterfacecredentialInterfaceRepresents the interface that the resource adapter implementation supports for the representation of the credentials.String[]descriptionThe optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
 
- 
- 
- 
Element Detail- 
authMechanismString 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:
- authentication mechanism supported by the resource adapter
 - Default:
- "BasicPassword"
 
 
- 
 - 
- 
descriptionString[] description The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.- Returns:
- description
 - Default:
- {}
 
 
- 
 - 
- 
credentialInterfaceAuthenticationMechanism.CredentialInterface credentialInterface Represents the interface that the resource adapter implementation supports for the representation of the credentials. Note that BasicPassword mechanism type should support thejakarta.resource.spi.security.PasswordCredentialinterface. The Kerbv5 mechanism type should support theorg.ietf.jgss.GSSCredentialinterface or the deprecatedjakarta.resource.spi.security.GenericCredentialinterface.- Returns:
- interface that the resource adapter implementation supports for the representation of the credentials
 - Default:
- jakarta.resource.spi.AuthenticationMechanism.CredentialInterface.PasswordCredential
 
 
- 
 
-