All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.duracloud.syncui.domain.DuracloudCredentialsCoherenceChecker Maven / Gradle / Ivy

There is a newer version: 8.1.0
Show newest version
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 *     http://duracloud.org/license/
 */
package org.duracloud.syncui.domain;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 
 * @author Daniel Bernstein
 *
 */
@Target({ElementType.TYPE}) 
@Retention(RetentionPolicy.RUNTIME) 
@Constraint(validatedBy=DuracloudCredentialsCoherenceCheckerValidator.class)
public @interface DuracloudCredentialsCoherenceChecker {
    String message() default "A DuraCloud instance matching your host, username, and password could not be found. " +
    		"Please try reentering your credentials.";

    Class[] groups() default {};

    Class[] payload() default {};

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy