Package javax.resource.spi
Annotation Type AuthenticationMechanism
-
@Documented @Retention(RUNTIME) @Target({}) public @interface AuthenticationMechanismAn annotation used to specify the authentication mechanism supported by the resource adapter.- Since:
- 1.6
- Version:
- Java EE Connector Architecture 1.6
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringauthMechanismThe authentication-mechanismType 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.java.lang.String[]descriptionThe optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
-
-
-
-
credentialInterface
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 thejavax.resource.spi.security.PasswordCredentialinterface. The Kerbv5 mechanism type should support theorg.ietf.jgss.GSSCredentialinterface or the deprecatedjavax.resource.spi.security.GenericCredentialinterface.- Default:
- javax.resource.spi.AuthenticationMechanism.CredentialInterface.PasswordCredential
-
-