public boolean domainMatch(String domain){
  if (domain == null || groupDistinguishedName == null) {
    return false;
  }
  if (StringUtils.isBlank(this.groupDomain)) {
    this.groupDomain=getDomainFromDN();
  }
  if (domain.equalsIgnoreCase(this.groupDomain)) {
    return true;
  }
  return false;
}

public boolean domainMatch ( String domain ) { if ( domain == null || groupDistinguishedName == null ) { return false ; } if ( StringUtils . isBlank ( this . groupDomain ) ) { this . groupDomain = getDomainFromDN ( ) ; } if ( domain . equalsIgnoreCase ( this . groupDomain ) ) { return true ; } return false ; }
validate if the group object match the specified domain
