Annotation Interface WithCredentials
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Inherited
@Documented
@RuleAnnotation(value=RuleImpl.class,
priority=11)
public @interface WithCredentials
Indicates that a test requires credentials.
Adds required credentials in the credential plugin
Supports:
-Username/password:
Example: @WithCredentials(credentialType = WithCredentials.USERNAME_PASSWORD, values = {"username", "password"})
-Username/sshKey:
Example: @WithCredentials(credentialType = WithCredentials.SSH_USERNAME_PRIVATE_KEY, values = {"username", "/ssh_keys/unsafe"})
- Author:
- Karl Matthias
-
Nested Class Summary
-
Required Element Summary
-
Optional Element Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int