Annotation Type Secured


@Documented @Retention(RUNTIME) @Target({FIELD,PARAMETER}) public @interface Secured
Uses the secured protocol for URL and URI injection. Usage example of field injection:

 @ArquillianResource
 @Secured
 private URL url;
 
Version:
$Revision: $
Author:
Samuel Santos
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Defines the port number on the host.
    Defines the name of the protocol to use.
  • Element Details

    • scheme

      String scheme
      Defines the name of the protocol to use.
      Returns:
      The scheme name or https if the scheme is undefined
      Default:
      "https"
    • port

      int port
      Defines the port number on the host.
      Returns:
      The port number or -1 if the port is undefined
      Default:
      -1