public static boolean isValidPrincipal(StorageOSPrincipal principal,URI tenantId){
  StringBuilder error=new StringBuilder();
  return Validator.isValidPrincipal(principal,tenantId,error);
}

public static boolean isValidPrincipal ( StorageOSPrincipal principal , URI tenantId ) { StringBuilder error = new StringBuilder ( ) ; return Validator . isValidPrincipal ( principal , tenantId , error ) ; }
validates the principal within the tenant
