agave-notifications/notifications-core/src/main/java/org/iplantc/service/notification/util/ServiceUtils.java
/**
     * Checks whether the url matches a fanout.io realm subdomain structure.
     * 
     * @param callbackUrl
     * @return
     */
Checks whether the url matches a fanout.io realm subdomain structure.

@param callbackUrl
@return
Checks whether the url matches a fanout . io realm subdomain structure . @param callbackUrl @return
public static boolean isValidFanoutIoChannel(String callbackUrl) {
        if (StringUtils.isEmpty(callbackUrl)) {
        	return false;
        }
        else {
        	return callbackUrl.matches("^(?:http|https)://([a-zA-Z0-9]+).fanoutcdn.com/(fpp|bayoux)(/[.]*)?");
    	}
    }
public static boolean isValidFanoutIoChannel ( String callbackUrl ) { if ( StringUtils . isEmpty ( callbackUrl ) ) { return false ; } else { return callbackUrl . matches ( "^(?:http|https)://([a-zA-Z0-9]+).fanoutcdn.com/(fpp|bayoux)(/[.]*)?" ) ; } }
Checks whether the url matches a fanout.io realm subdomain structure.
Checks whether the url matches a fanout . io realm subdomain structure .
// fanout.io realm