Annotation Type AuthenticationMechanism

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String authMechanism
      The authentication-mechanism-type specifies an authentication mechanism supported by the resource adapter.
      AuthenticationMechanism.CredentialInterface credentialInterface
      Represents the interface that the resource adapter implementation supports for the representation of the credentials.
      String[] description
      The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
    • Element Detail

      • authMechanism

        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:
        authentication mechanism supported by the resource adapter
        Default:
        "BasicPassword"
      • description

        String[] description
        The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
        Returns:
        description
        Default:
        {}
      • 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 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:
        interface that the resource adapter implementation supports for the representation of the credentials
        Default:
        jakarta.resource.spi.AuthenticationMechanism.CredentialInterface.PasswordCredential