Annotation Interface AuthenticationMechanism


@Documented @Retention(RUNTIME) @Target({}) public @interface AuthenticationMechanism
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    An enumerated type that represents the various interfaces that a resource adapter may support for the representation of the credentials.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The 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.
    The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
  • Element Details

    • authMechanism

      String authMechanism
      The 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[] description
      The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
      Default:
      {}
    • credentialInterface

      Represents the interface that the resource adapter implementation supports for the representation of the credentials. Note that BasicPassword mechanism type should support the javax.resource.spi.security.PasswordCredential interface. The Kerbv5 mechanism type should support the org.ietf.jgss.GSSCredential interface or the deprecated javax.resource.spi.security.GenericCredential interface.
      Default:
      PasswordCredential